diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-08-03 06:47:23 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-08-03 06:47:23 +0000 |
commit | 4f8259bdbc591cb55e70e3424254d28c00ed4a9d (patch) | |
tree | 174e0ed9ecd113e551cd71b33354c4b7ba5b14db /llvm/test/Transforms/FunctionAttrs/naked_functions.ll | |
parent | a67d81e4e2fe17e4388599197cd2d8fc0213b52b (diff) | |
download | bcm5719-llvm-4f8259bdbc591cb55e70e3424254d28c00ed4a9d.tar.gz bcm5719-llvm-4f8259bdbc591cb55e70e3424254d28c00ed4a9d.zip |
[Thumb] Fix invalid symbol redefinition due to duplicated jumptable (PR42760)
Fix for https://bugs.llvm.org/show_bug.cgi?id=42760. A tBR_JTr
instruction is duplicated by tail duplication, which results in
the same jumptable with the same label being emitted twice.
Fix this by marking tBR_JTr as not duplicable. The corresponding
ARM/Thumb instructions are already marked as not duplicable.
Additionally also mark tTBB_JT and tTBH_JT to be consistent with
Thumb2, even though this shouldn't be strictly necessary.
Differential Revision: https://reviews.llvm.org/D65606
llvm-svn: 367753
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/naked_functions.ll')
0 files changed, 0 insertions, 0 deletions