diff options
author | Simon Wallis <simon.wallis2@arm.com> | 2023-07-11 13:11:30 +0100 |
---|---|---|
committer | Simon Wallis <simon.wallis2@arm.com> | 2023-07-11 14:42:07 +0100 |
commit | 82458ce69eb0de27b6b794974a618fb058f8af45 (patch) | |
tree | 547a9ff662b790ca01c67084fb1a4c26cccc5ce1 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 9cb421cdea022c60d66216520094a87596a8aec7 (diff) | |
download | llvm-82458ce69eb0de27b6b794974a618fb058f8af45.zip llvm-82458ce69eb0de27b6b794974a618fb058f8af45.tar.gz llvm-82458ce69eb0de27b6b794974a618fb058f8af45.tar.bz2 |
[ARM] mark tMOVi32imm as killing flags
Mark the tMOVi32imm pseudo instr as killing the flags register.
The pseudo instruction expands to a sequence of 7 movs/lsls/adds
instructions, which are all Thumb-1 flag setting instructions.
For a test case, take an existing arm test which checks for
"Don't CSE a cmp across a call that clobbers CPSR."
and retarget it at thumbv6m execute-only.
Reviewed By: stuij
Differential Revision: https://reviews.llvm.org/D154845
Change-Id: I8f8209fbc40a833f8875629937b9606c1e2c021d
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions