aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2017-01-31 14:35:01 +0000
committerSam Parker <sam.parker@arm.com>2017-01-31 14:35:01 +0000
commit9bf658d5fe3813ebea4f798711ac257c72b1d6b2 (patch)
treefd020debbfd2ee840b7f4fe78771396ac792a981 /clang/lib/CodeGen/CodeGenFunction.cpp
parentaf1b9622d4208aa1c60cf8ea49bdc567b189dbb3 (diff)
downloadllvm-9bf658d5fe3813ebea4f798711ac257c72b1d6b2.zip
llvm-9bf658d5fe3813ebea4f798711ac257c72b1d6b2.tar.gz
llvm-9bf658d5fe3813ebea4f798711ac257c72b1d6b2.tar.bz2
[ARM] Avoid using ARM instructions in Thumb mode
The Requires class overrides the target requirements of an instruction, rather than adding to them, so all ARM instructions need to include the IsARM predicate when they have overwitten requirements. This caused the swp and swpb instructions to be allowed in thumb mode assembly, and the ARM encoding of CDP to be selected in codegen (which is different for conditional instructions). Differential Revision: https://reviews.llvm.org/D29283 llvm-svn: 293634
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions