[PATCH] [X86] Avoid generating inc/dec when slow for x.atomic_store(1 + x.atomic_load())
Robin Morisset
morisset at google.com
Wed Oct 8 11:52:22 PDT 2014
Hi jfb, nadav,
I had forgotten to check for NotSlowIncDec in the patterns that can generate
inc/dec for the above pattern (added in D4796).
http://reviews.llvm.org/D5677
Files:
lib/Target/X86/X86InstrCompiler.td
test/CodeGen/X86/atomic_mi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5677.14588.patch
Type: text/x-patch
Size: 3595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141008/5a211f68/attachment.bin>
More information about the llvm-commits
mailing list