[PATCH] D61075: [CodeGenPrepare] limit overflow intrinsic matching to a single basic block

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 14:26:17 PDT 2019


spatel updated this revision to Diff 197867.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Added more details to the code comment about using the dominator tree. Ie, if anyone wants to use it for this transform (or possibly others), they are probably going to have to alter the function-level CGP loop to avoid resetting the DT on every change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61075/new/

https://reviews.llvm.org/D61075

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/X86/cgp-usubo.ll
  llvm/test/Transforms/CodeGenPrepare/X86/optimizeSelect-DT.ll
  llvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61075.197867.patch
Type: text/x-patch
Size: 11133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190502/dc9d61bd/attachment.bin>


More information about the llvm-commits mailing list