summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-05-16 22:47:49 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-05-16 22:47:49 +0000
commite15551832c70ff477d09edde1ca91e9d96970a31 (patch)
treecc38af0ba54112b165119d0481be1467facf82bd /clang/lib/Serialization/ASTReader.cpp
parent17254aaead65f5a989430cf5c077a9a1443e44bf (diff)
downloadbcm5719-llvm-e15551832c70ff477d09edde1ca91e9d96970a31.tar.gz
bcm5719-llvm-e15551832c70ff477d09edde1ca91e9d96970a31.zip
Lower vselects into X86ISD::BLENDI when appropriate.
LowerVSELECT will, if possible, generate a X86ISD::BLENDI DAG node if the condition is constant and we can emit that instruction, given the subtarget. This is not enough for all cases. An additional SELECTCombine optimization will be committed. Fixed tests that were expecting variable blends but where a blend+imm can be generated. Added test where we can't emit blend+immediate. Added avx2 blend+imm tests. llvm-svn: 209043
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud