[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
http://reviews.llvm.org/D13749
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/atomic_mi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13749.37403.patch
Type: text/x-patch
Size: 4463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151014/782da117/attachment.bin>
More information about the llvm-commits
mailing list