aboutsummaryrefslogtreecommitdiff
path: root/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
commit2e6ae13bf6e09d844b76b0a12861d25be0842b03 (patch)
tree8376c32a8f628ccb872faaca032a618423b72f79 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parenta5c6b78bf8a009609258ed6c11ac4580ad6426f5 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions