[PATCH] D11591: Allow PeepholeOptimizer to fold a few more cases

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 9 00:57:20 PDT 2015


mkuper updated this revision to Diff 31611.
mkuper added a comment.

Thanks, Quentin!
Removed the inlineAsm condition.

As to the tests - they already check for memory references. ({{.+}}) won't match a register.
In fact, this is the way the test originally was, when it checked for folding, before the scheduler breakage.


http://reviews.llvm.org/D11591

Files:
  lib/CodeGen/PeepholeOptimizer.cpp
  test/CodeGen/X86/avx-cvt.ll
  test/CodeGen/X86/shift-bmi2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11591.31611.patch
Type: text/x-patch
Size: 3518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150809/c355af86/attachment.bin>


More information about the llvm-commits mailing list