summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/cortex-a57-misched-ldm.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-08-09 22:22:05 +0000
committerMatthias Braun <matze@braunis.de>2017-08-09 22:22:05 +0000
commita88587ce0c5478051c583d88a85c634cdcef8b8b (patch)
tree438c017d3613134701b1449c7a0b0eeeb4ea09f4 /llvm/test/CodeGen/ARM/cortex-a57-misched-ldm.ll
parent93f2b4bdde892540844e7847128aa9adb5e3a5d3 (diff)
downloadbcm5719-llvm-a88587ce0c5478051c583d88a85c634cdcef8b8b.tar.gz
bcm5719-llvm-a88587ce0c5478051c583d88a85c634cdcef8b8b.zip
ARM: Fix CMP_SWAP expansion
Clean up after my misguided attempt in r304267 to "fix" CMP_SWAP returning an uninitialized status value. - I was always using tMOVi8 to zero the status register which cannot encode higher register numbers and llvm would silently miscompile) - Nobody was ever looking at that status value outside the expansion. ARMDAGToDAGISel::SelectCMP_SWAP() the only place creating CMP_SWAP instructions was not mapping anything to it. (The cmpxchg status value from llvm IR is lowered to a manual comparison after the CMP_SWAP) So this: - Renames the register from "status" to "temp" it make it obvious that it isn't used outside the expansion. - Remove the zeroing status/temp register. - Keep the live-in list improvements from r304267 Fixes http://llvm.org/PR34056 llvm-svn: 310534
Diffstat (limited to 'llvm/test/CodeGen/ARM/cortex-a57-misched-ldm.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud