summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/PhaseOrdering
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-01-01 19:34:11 +0000
committerCraig Topper <craig.topper@intel.com>2019-01-01 19:34:11 +0000
commit00b390a00044ba15f6e1b7c3200d86fc576ccdf7 (patch)
tree61a4a6cf422861baa5264519999bbd911cd6bb8e /llvm/test/Transforms/PhaseOrdering
parentdb5b537f1ed7f8445a9349bffa9202fa21a9b99e (diff)
downloadbcm5719-llvm-00b390a00044ba15f6e1b7c3200d86fc576ccdf7.tar.gz
bcm5719-llvm-00b390a00044ba15f6e1b7c3200d86fc576ccdf7.zip
[X86] Factor the core code out of LowerXALUO into a helper function. Use it in LowerBRCOND and LowerSELECT to avoid some duplicated code.
This makes it easier to keep the LowerBRCOND and LowerSELECT code in sync with LowerXALUO so they always pick the same operation for overflowing instructions. This is inspired by the helper functions used by ARM and AArch64 for the same purpose. The test change is because LowerSELECT was not in sync with LowerXALUO with regard to INC/DEC for SADDO/SSUBO. llvm-svn: 350198
Diffstat (limited to 'llvm/test/Transforms/PhaseOrdering')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud