[SystemZ] Add LOC and LOCG
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 25 Jul 2013 09:04:52 +0000 (09:04 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 25 Jul 2013 09:04:52 +0000 (09:04 +0000)
commitcf20e45cc4cb77bcb16363531e600883cd27ff80
treecebffed322b6409d23f5b236e86b1faab811143a
parentb284e1bf08d24deb20b7deab71fce6f3034cc89a
[SystemZ] Add LOC and LOCG

As with the stores, these instructions can trap when the condition is false,
so they are only used for things like (cond ? x : *ptr).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187112 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZOperands.td
lib/Target/SystemZ/SystemZPatterns.td
test/CodeGen/SystemZ/cond-load-01.ll [new file with mode: 0644]
test/CodeGen/SystemZ/cond-load-02.ll [new file with mode: 0644]
test/MC/Disassembler/SystemZ/insns.txt
test/MC/SystemZ/insn-bad-z196.s
test/MC/SystemZ/insn-good-z196.s