summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-12-05 08:15:03 +0000
committerCraig Topper <craig.topper@intel.com>2017-12-05 08:15:03 +0000
commit98495291a7f236d356d851509adb7d7b4fd530ff (patch)
tree5ae297feb04befed937b129dcf010b7bc654f894 /llvm/lib/CodeGen/BranchFolding.cpp
parent1854eccaf6612cf6140980626eeeb72d37088e7a (diff)
downloadbcm5719-llvm-98495291a7f236d356d851509adb7d7b4fd530ff.tar.gz
bcm5719-llvm-98495291a7f236d356d851509adb7d7b4fd530ff.zip
[SelectionDAG] Use WidenTargetBoolean in WidenVecRes_MLOAD and WidenVecOp_MSTORE instead of implementing it manually and incorrectly.
The CONCAT_VECTORS operand get its type from getSetCCResultType, but if the mask type and the setcc have different scalar sizes this creates an illegal CONCAT_VECTORS operation. The concat type should be 2x the mask type, and then an extend should be added if needed. llvm-svn: 319744
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud