summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2013-04-26 17:54:54 +0000
committerQuentin Colombet <qcolombet@apple.com>2013-04-26 17:54:54 +0000
commita83d5e9f9186a71cdd01b6d487e23aa4c97085ec (patch)
tree06bfe0a5bd3eaf9b93e8bc6ec184b0deed199d39 /llvm/lib/Object/MachOObjectFile.cpp
parent37212578ee5e7f8b014fd49d7797775b788fbd1d (diff)
downloadbcm5719-llvm-a83d5e9f9186a71cdd01b6d487e23aa4c97085ec.tar.gz
bcm5719-llvm-a83d5e9f9186a71cdd01b6d487e23aa4c97085ec.zip
ARM: Fix encoding of hint instruction for Thumb.
"hint" space for Thumb actually overlaps the encoding space of the CPS instruction. In actuality, hints can be defined as CPS instructions where imod and M bits are all nil. Handle decoding of permitted nop-compatible hints (i.e. nop, yield, wfi, wfe, sev) in DecodeT2CPSInstruction. This commit adds a proper diagnostic message for Imm0_4 and updates all tests. Patch by Mihail Popa <Mihail.Popa@arm.com>. llvm-svn: 180617
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud