[PATCH] D53356: [InstCombine] Teach the move free before null test opti how to deal with noop casts

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 09:49:24 PDT 2018


qcolombet updated this revision to Diff 171526.
qcolombet added a comment.

- Use m_CombineOr instead of repeating the pattern to match


Repository:
  rL LLVM

https://reviews.llvm.org/D53356

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/malloc-free-delete.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53356.171526.patch
Type: text/x-patch
Size: 5154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/19753bef/attachment.bin>


More information about the llvm-commits mailing list