[SystemZ] Add negative integer absolute (load negative)
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 19 Aug 2013 12:56:58 +0000 (12:56 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 19 Aug 2013 12:56:58 +0000 (12:56 +0000)
commitd4a37e61378949835d93df6b8e4a9feadb4edeef
treec96caffa4e74065897e1505b27a6f31613266cab
parentb0d40a22e5aa1a51913fa161c2ce5513d7bd9293
[SystemZ] Add negative integer absolute (load negative)

For now this matches the equivalent of (neg (abs ...)), which did hit a few
times in projects/test-suite.  We should probably also match cases where
absolute-like selects are used with reversed arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188671 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/README.txt
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZOperators.td
test/CodeGen/SystemZ/int-neg-02.ll [new file with mode: 0644]
test/MC/Disassembler/SystemZ/insns.txt
test/MC/SystemZ/insn-good.s