summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fast-isel-binary.ll
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-02-24 16:27:45 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-02-24 16:27:45 +0000
commitcf0e06d375d8524314950805cddf189eb775a84c (patch)
treeaeceb2e407dd6fadd49bea6984719b4d675bf1aa /llvm/test/CodeGen/PowerPC/fast-isel-binary.ll
parent066ebbfd46946e23b1e4ed7701a9cdbb066fb216 (diff)
downloadbcm5719-llvm-cf0e06d375d8524314950805cddf189eb775a84c.tar.gz
bcm5719-llvm-cf0e06d375d8524314950805cddf189eb775a84c.zip
[mips] Fix atomic compare and swap at O0.
Similar to PR/25526, fast-regalloc introduces spills at the end of basic blocks. When this occurs in between an ll and sc, the store can cause the atomic sequence to fail. This patch fixes the issue by introducing more pseudos to represent atomic operations and moving their lowering to after the expansion of postRA pseudos. This resolves PR/32020. Thanks to James Cowgill for reporting the issue! Reviewers: slthakur Differential Revision: https://reviews.llvm.org/D30257 llvm-svn: 296132
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fast-isel-binary.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud