summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/fp-div-02.ll
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-13 15:07:39 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-13 15:07:39 +0000
commitbd2f0e9cd00d0515015ac965758b602be750d2f1 (patch)
tree8d5dc148eb0d455cfd1e4f38ec5733c3406d340d /llvm/test/CodeGen/SystemZ/fp-div-02.ll
parent57bfdb080bfa0f4a0dbc85d9e68467a369211901 (diff)
downloadbcm5719-llvm-bd2f0e9cd00d0515015ac965758b602be750d2f1.tar.gz
bcm5719-llvm-bd2f0e9cd00d0515015ac965758b602be750d2f1.zip
[SystemZ] Make more use of LTGFR
InstCombine turns (sext (trunc)) into (ashr (shl)), then converts any comparison of the ashr against zero into a comparison of the shl against zero. This makes sense in itself, but we want to undo it for z, since the sign- extension instruction has a CC-setting form. I've included tests for both the original and InstCombined variants, but the former already worked. The patch fixes the latter. llvm-svn: 197234
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/fp-div-02.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud