diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-09-28 20:27:31 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-09-28 20:27:31 +0000 |
commit | 5ab09a684fd8759bac3cc824bb4550b0e5d7f4b8 (patch) | |
tree | e133f4a45df8c997819a53e79a34f3f2c4bcf4ca /llvm/test/CodeGen/Hexagon/hwloop-crit-edge.ll | |
parent | 6f11db137034b38dbe2aabfa823ac0f2a7e3f9b9 (diff) | |
download | bcm5719-llvm-5ab09a684fd8759bac3cc824bb4550b0e5d7f4b8.tar.gz bcm5719-llvm-5ab09a684fd8759bac3cc824bb4550b0e5d7f4b8.zip |
[ARM] Fix correctness checks in promoteToConstantPool.
Correctly check for relocations in the constant to promote. And don't
allow promoting a constant multiple times.
This partially fixes https://bugs.llvm.org//show_bug.cgi?id=32780 ;
it's not a complete fix because we also need to prevent
ARMConstantIslands from cloning the constant.
(-arm-promote-constant is currently off by default, and it stays off
with this patch. I'll look into turning it on again when all the known
issues are fixed.)
Differential Revision: https://reviews.llvm.org/D51472
llvm-svn: 343361
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/hwloop-crit-edge.ll')
0 files changed, 0 insertions, 0 deletions