1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/lib
JF Bastien 836736a5d0 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
2015-10-15 16:46:29 +00:00
..
Analysis Recommit r250345, it was reverted in r250366 to investigate a bot failure. 2015-10-15 14:59:40 +00:00
AsmParser HHVM calling conventions. 2015-09-29 22:09:16 +00:00
Bitcode BitcodeReader: Remove ilist iterator implicit conversions, NFC 2015-10-13 16:48:55 +00:00
CodeGen A doccomment for CombineTo, and some NFC refactorings 2015-10-14 17:18:35 +00:00
DebugInfo [llvm-symbolizer] Make --relative-address work with DWARF contexts 2015-10-09 00:15:01 +00:00
ExecutionEngine [RuntimeDyld] Don't try to get the contents of sections that don't have any 2015-10-15 06:41:45 +00:00
Fuzzer [libFuzzer] don't print large artifacts to stderr 2015-10-09 04:03:14 +00:00
IR Remove DIFile from createSubroutineType. 2015-10-15 06:56:10 +00:00
IRReader
LibDriver There is only one saver of strings. 2015-08-13 01:07:02 +00:00
LineEditor
Linker [opaque pointer types] Switch a few cases of getElementType over, since I had them lying around anyway 2015-09-14 20:29:26 +00:00
LTO Reapply "LTO: Disable extra verify runs in release builds" 2015-09-15 23:05:59 +00:00
MC Prevent assertion with "llc -debug" and anonymous symbols. 2015-10-15 16:18:27 +00:00
Object Tweak to r250117 and change to use ErrorOr and drop isSizeValid for 2015-10-13 20:48:04 +00:00
Option
Passes [PM] Port SROA to the new pass manager. 2015-09-12 09:09:14 +00:00
ProfileData Sample Profiles - Adjust integer types. Mostly NFC. 2015-10-15 16:36:21 +00:00
Support Require Windows API of version 6.1 (Windows 7). 2015-10-15 14:50:31 +00:00
TableGen
Target x86 FP atomic codegen: don't drop globals, stack 2015-10-15 16:46:29 +00:00
Transforms Sample Profiles - Adjust integer types. Mostly NFC. 2015-10-15 16:36:21 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile