summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-23 18:05:37 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-23 18:05:37 +0000
commit85030544104b6bf0273140e13eb232804d9ab2bf (patch)
tree3db31b59d11ce62b7456332f41405c9d9789d0b6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent6366d1b85886d08397b13943dfb66a30f84ca282 (diff)
downloadbcm5719-llvm-85030544104b6bf0273140e13eb232804d9ab2bf.tar.gz
bcm5719-llvm-85030544104b6bf0273140e13eb232804d9ab2bf.zip
Clean up the 'trap' instruction printing a bit. Non-Darwin assemblers don't
(yet) recognize the 'trap' mnemonic, so we use .short/.long to emit the opcode directly. On Darwin, however, we do want the mnemonic for more readable assembly code and better disassembly. Adjust the .td file to use the 'trap' mnemonic and handle using the binutils workaround in the assembly printer. Also tweak the formatting of the opcode values to make them consistent between the MC printer and the old printer. llvm-svn: 114679
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud