1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/tools/llc
Ayman Musa 46c492dbd0 [X86] Relocate code of replacement of subtarget unsupported masked memory intrinsics to run also on -O0 option.
Currently, when masked load, store, gather or scatter intrinsics are used, we check in CodeGenPrepare pass if the subtarget support these intrinsics, if not we replace them with scalar code - this is a functional transformation not an optimization (not optional).

CodeGenPrepare pass does not run when the optimization level is set to CodeGenOpt::None (-O0).

Functional transformation should run with all optimization levels, so here I created a new pass which runs on all optimization levels and does no more than this transformation.

Differential Revision: https://reviews.llvm.org/D32487

llvm-svn: 303050
2017-05-15 11:30:54 +00:00
..
CMakeLists.txt llc: Update link components 2017-01-17 05:47:03 +00:00
llc.cpp [X86] Relocate code of replacement of subtarget unsupported masked memory intrinsics to run also on -O0 option. 2017-05-15 11:30:54 +00:00
LLVMBuild.txt llc: Update LLVMBuild 2017-01-17 05:34:08 +00:00