[PATCH] D13749: x86 atomic codegen: don't drop globals
JF Bastien via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 15:23:08 PDT 2015
jfb created this revision.
jfb added a reviewer: pete.
jfb added subscribers: rsmith, majnemer, llvm-commits.
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.
Don't let it forget about the displacement.
This fixes https://llvm.org/bugs/show_bug.cgi?id=25171
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4463 bytes
Desc: not available
More information about the llvm-commits