[SystemZ] Add support for TMHH, TMHL, TMLH and TMLL
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 28 Aug 2013 10:31:43 +0000 (10:31 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 28 Aug 2013 10:31:43 +0000 (10:31 +0000)
commit477168192c98e1f75a5bc6db3d34a177f327bd34
tree29024a631a02e26dd2d4634abed8612c5469ca0c
parenta6c3a4ee76ef8464d3c83472e15af521ade7eeb4
[SystemZ] Add support for TMHH, TMHL, TMLH and TMLL

For now just handles simple comparisons of an ANDed value with zero.
The CC value provides enough information to do any comparison for a
2-bit mask, and some nonzero comparisons with more populated masks,
but that's all future work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZ.h
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZOperators.td
test/CodeGen/SystemZ/int-cmp-44.ll
test/CodeGen/SystemZ/int-cmp-46.ll [new file with mode: 0644]
test/CodeGen/SystemZ/int-cmp-47.ll [new file with mode: 0644]
test/MC/Disassembler/SystemZ/insns.txt
test/MC/SystemZ/insn-bad.s
test/MC/SystemZ/insn-good.s