summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineRegionInfo.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-10 19:12:58 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-10 19:12:58 +0000
commit9121eb575e321a514fcdfde028d3c05f3735d658 (patch)
treeb77be637419a1ff647b41d23662a36e2d65f7dc0 /llvm/lib/CodeGen/MachineRegionInfo.cpp
parent59aaf1ae3301a628e4f227ac1b2b3b620854ae0f (diff)
downloadbcm5719-llvm-9121eb575e321a514fcdfde028d3c05f3735d658.tar.gz
bcm5719-llvm-9121eb575e321a514fcdfde028d3c05f3735d658.zip
[X86] Custom legalize (v2i32 (setcc (v2f32))) so that we don't end up with a (v4i1 (setcc (v4f32)))
Undef VLX, getSetCCResultType returns v2i1/v4i1 for v2f32/v4f32 so default type legalization will end up changing the setcc result type back to vXi1 if it had been extended. The resulting extend gets messed up further by type legalization and is difficult to recombine back to (v4i32 (setcc (v4f32))) after legalization. I went ahead and enabled this for SSE2 and later since its always the result we want and this helps type legalization get there in less steps. llvm-svn: 324822
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud