1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Florian Hahn f52bf2135d [LV] Make sure the MaxVF is a power-of-2 by rounding down.
LV currently only supports power of 2 vectorization factors, which has
been made explicit with the assertion added in
840450549c9199150cbdee29acef756c19660ca1.

However, if the widest type is not a power-of-2 the computed MaxVF won't
be a power-of-2 either. This patch updates computeFeasibleMaxVF to
ensure the returned value is a power-of-2 by rounding down to the
nearest power-of-2.

Fixes PR46139.

Reviewers: Ayal, gilr, rengolin

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D80870
2020-06-02 10:40:49 +01:00
..
Analysis [BrachProbablityInfo] Proportional distribution of reachable probabilities 2020-06-02 12:06:52 +07:00
AsmParser [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
BinaryFormat [MsgPack] Added convenience assignment to MsgPackDocument 2020-05-21 22:13:19 +01:00
Bitcode [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
Bitstream
CodeGen Options for Basic Block Sections, enabled in D68063 and D73674. 2020-06-02 00:23:32 -07:00
DebugInfo For --relativenames, ignore directory 0, which is the comp_dir. 2020-06-01 13:13:37 -07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
DWARFLinker
ExecutionEngine [jitlink] R_X86_64_PC32 support for the elf x86 jitlinker 2020-05-30 10:53:18 +10:00
Extensions
Frontend [OpenMP] Replace Clang's OpenMP RTL Definitions with OMPKinds.def 2020-06-01 16:23:10 -04:00
Fuzzer
FuzzMutate
IR [PGO] Improve the working set size heuristics under the partial sample PGO. 2020-06-01 10:29:23 -07:00
IRReader
LineEditor
Linker [SVE] Eliminate calls to default-false VectorType::get() from Linker 2020-05-29 17:43:15 -07:00
LTO [PGO] Improve the working set size heuristics under the partial sample PGO. 2020-06-01 10:29:23 -07:00
MC [DWARF5] Added support for emission of .debug_macro.dwo section 2020-05-30 11:13:23 +05:30
MCA
Object SymbolicFile.h - removed unused FileSystem.h include. NFC. 2020-05-28 15:26:31 +01:00
ObjectYAML [ObjectYAML][DWARF] Make the PubSection optional. 2020-05-29 20:11:53 +08:00
Option
Passes NFC: Simplify O1 pass pipeline construction. 2020-05-29 20:08:22 -07:00
ProfileData
Remarks
Support [Support] Add more context to DataExtractor getLEB128 errors 2020-06-01 14:00:01 +01:00
TableGen
Target [mips] Support 64-bit relative relocations 2020-06-02 11:44:11 +03:00
Testing
TextAPI ArchitectureSet.h - reduce raw_ostream.h include to forward declaration. NFC. 2020-05-30 12:36:16 +01:00
ToolDrivers
Transforms [LV] Make sure the MaxVF is a power-of-2 by rounding down. 2020-06-02 10:40:49 +01:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt
LLVMBuild.txt