aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-02-17 23:21:48 -0800
committerCraig Topper <craig.topper@gmail.com>2020-02-18 22:39:30 -0800
commit0dbc4658d88ccb321a7b372f4af19bbaa00722fb (patch)
treeaeae4c5471dac0e801431463b07246505009dbbb /llvm/lib/CodeGen/MachineFunction.cpp
parent048239e46e490d441f21f3e26073ec38f19e8a10 (diff)
downloadllvm-0dbc4658d88ccb321a7b372f4af19bbaa00722fb.zip
llvm-0dbc4658d88ccb321a7b372f4af19bbaa00722fb.tar.gz
llvm-0dbc4658d88ccb321a7b372f4af19bbaa00722fb.tar.bz2
[X86] Handle splats in LowerBUILD_VECTORvXi1 by directly emitting scalar selects instead of deferring that to LowerSELECT.
LoweSELECT will detect the constant inputs and convert to scalar selects, but we can do it directly here. I might remove some of the code from LowerSELECT and move it to DAG combine so doing this explicitly will make us less dependent on it happening in lowering.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions