[PATCH] D11382: x86 atomic: optimize a.store(reg op a.load(acquire), release)

JF Bastien jfb at chromium.org
Wed Jul 22 11:21:20 PDT 2015


jfb updated this revision to Diff 30373.
jfb added a comment.

- Add test suggested by dvyukov making sure that the load isn't duplicated.


http://reviews.llvm.org/D11382

Files:
  lib/Target/X86/X86InstrCompiler.td
  lib/Target/X86/X86MCInstLower.cpp
  test/CodeGen/X86/atomic_mi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11382.30373.patch
Type: text/x-patch
Size: 19453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150722/90f69a1f/attachment.bin>


More information about the llvm-commits mailing list