[SystemZ] Extend the use of C(L)GFR
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 6 Dec 2013 09:56:50 +0000 (09:56 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 6 Dec 2013 09:56:50 +0000 (09:56 +0000)
commit8bf51dc72bffd9a2e2fcc3d3e0215c859eb1d60f
treef0777e41bbb52fea983f97eecd72d83ed1e8a4ab
parente3a804ba21634f835a4bbfba0ca44dbb1c21ea9d
[SystemZ] Extend the use of C(L)GFR

instcombine prefers to put extended operands first, so this patch
handles that case for C(L)GFR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelLowering.cpp
test/CodeGen/SystemZ/int-cmp-05.ll
test/CodeGen/SystemZ/int-cmp-06.ll