aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2017-10-02 23:43:52 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2017-10-02 23:43:52 +0000
commit25f6c196d7035be8cb818be95856c44c2356d3b9 (patch)
tree4b128129254914f60d5e73796bff68b05a160ae8 /llvm/lib/CodeGen/MachineScheduler.cpp
parentc48d1c8519816210cf4baa7be68672bd8ba91532 (diff)
downloadllvm-25f6c196d7035be8cb818be95856c44c2356d3b9.zip
llvm-25f6c196d7035be8cb818be95856c44c2356d3b9.tar.gz
llvm-25f6c196d7035be8cb818be95856c44c2356d3b9.tar.bz2
[InstSimplify] teach SimplifySelectInst() to fold more vector selects
Call ConstantFoldSelectInstruction() to fold cases like below select <2 x i1><i1 true, i1 false>, <2 x i8> <i8 0, i8 1>, <2 x i8> <i8 2, i8 3> All operands are constants and the condition has mixed true and false conditions. Differential Revision: https://reviews.llvm.org/D38369 llvm-svn: 314741
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions