diff options
| author | JF Bastien <jfb@google.com> | 2015-10-15 16:46:29 +0000 |
|---|---|---|
| committer | JF Bastien <jfb@google.com> | 2015-10-15 16:46:29 +0000 |
| commit | 5b327712b07225385a6370f6acd245b8690670b0 (patch) | |
| tree | bdace682a44c2ece935c1a043ade313b6a9bc687 /llvm/test/Transforms/SimplifyCFG | |
| parent | 2811b04874b7b0db6d7db63fabd73fe95331db67 (diff) | |
| download | bcm5719-llvm-5b327712b07225385a6370f6acd245b8690670b0.tar.gz bcm5719-llvm-5b327712b07225385a6370f6acd245b8690670b0.zip | |
x86 FP atomic codegen: don't drop globals, stack
Summary:
x86 codegen is clever about generating good code for relaxed
floating-point operations, but it was being silly when globals and
immediates were involved, forgetting where the global was and
loading/storing from/to the wrong place. The same applied to hard-coded
address immediates.
Don't let it forget about the displacement.
This fixes https://llvm.org/bugs/show_bug.cgi?id=25171
A very similar bug when doing floating-points atomics to the stack is
also fixed by this patch.
This fixes https://llvm.org/bugs/show_bug.cgi?id=25144
Reviewers: pete
Subscribers: llvm-commits, majnemer, rsmith
Differential Revision: http://reviews.llvm.org/D13749
llvm-svn: 250429
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG')
0 files changed, 0 insertions, 0 deletions

