[PATCH] [Power] Use lwsync for non-seq_cst fences

Robin Morisset morisset at google.com
Thu Sep 11 14:56:56 PDT 2014


Hi jfb, wschmidt,

hwsync is only required for seq_cst fences, acquire and release one can use
the cheaper lwsync.

http://reviews.llvm.org/D5317

Files:
  lib/Target/PowerPC/PPCInstrInfo.td
  test/CodeGen/PowerPC/atomics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5317.13605.patch
Type: text/x-patch
Size: 1587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140911/234bfa91/attachment.bin>


More information about the llvm-commits mailing list