[PATCH] D104634: [SCEV] Generalize MatchBinaryAddToConst to support non-add expressions.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 06:15:57 PDT 2021


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

Add `<nsw>` and `<nuw>` to the sub-expressions where it was missing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104634

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Transforms/SLPVectorizer/AArch64/memory-runtime-checks.ll
  llvm/test/Transforms/SLPVectorizer/X86/memory-runtime-checks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104634.353351.patch
Type: text/x-patch
Size: 20658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/c7ce8a38/attachment.bin>


More information about the llvm-commits mailing list