[PATCH] X86: elide comparisons after cmpxchg instructions.
t.p.northover at gmail.com
Tue Jun 10 09:05:39 PDT 2014
The problem was X86ISD::BRCOND getting a stale chain after the original, unlowered cmpxchg had been replaced. I thought the correct value could be reliably inferred from the "Cmp", but that's not actually true in general so we need to save the chain slightly later in the function.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13161 bytes
Desc: not available
More information about the llvm-commits