[PATCH] [X86] Use the generic AtomicExpandPass instead of X86AtomicExpandPass
morisset at google.com
Wed Aug 27 14:36:10 PDT 2014
This required a new hook called hasLoadLinkedStoreConditional to know whether
to expand atomics to LL/SC (ARM, AArch64, in a future patch Power) or to
Apart from that, the new code in AtomicExpandPass is mostly moved from
X86AtomicExpandPass. The main result of this patch is to get rid of that
pass, which had lots of code duplicated with AtomicExpandPass.
Depends on D4960 and D5035.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 27542 bytes
Desc: not available
More information about the llvm-commits