[PATCH] D116811: [SCEVExpander] Skip creating <u 0 check, which is always false.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 09:15:56 PST 2022


fhahn updated this revision to Diff 398169.
fhahn added a comment.

Remove foldOrCreateOr helper, add logic to IRBuilder in D116817 <https://reviews.llvm.org/D116817>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116811

Files:
  llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
  llvm/test/Transforms/LoopDistribute/scev-inserted-runtime-check.ll
  llvm/test/Transforms/LoopVectorize/runtime-check-small-clamped-bounds.ll
  llvm/test/Transforms/LoopVersioning/wrapping-pointer-versioning.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116811.398169.patch
Type: text/x-patch
Size: 9039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/6b8edddd/attachment.bin>


More information about the llvm-commits mailing list