OSDN Git Service

[SystemZ] Try to fold shifts into TMxx
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 13 Sep 2013 09:09:50 +0000 (09:09 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 13 Sep 2013 09:09:50 +0000 (09:09 +0000)
commit856bf594338567a592086fe782f2f51650e4e294
treea30bd20000383fc1d913805d6100586c8436f5c9
parent9a8392b8acf2803f344060f21b0ce4a07df3de7e
[SystemZ] Try to fold shifts into TMxx

E.g. "SRL %r2, 2; TMLL %r2, 1" => "TMLL %r2, 4".

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