[PATCH] D152278: [SCEV] Compute SCEV for ashr(add(shl(x, n), c), m) instr triplet

Vedant Paranjape via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 02:37:12 PDT 2023


vedant-amd updated this revision to Diff 546769.
vedant-amd added a comment.

Fixed issue with generated SCEV for ShlAmt > AshrAmt


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152278

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/sext-add-inreg-loop.ll
  llvm/test/Analysis/ScalarEvolution/sext-add-inreg-unequal.ll
  llvm/test/Analysis/ScalarEvolution/sext-add-inreg.ll
  llvm/test/Transforms/LoopStrengthReduce/scaling-factor-incompat-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152278.546769.patch
Type: text/x-patch
Size: 12524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/55fbce25/attachment.bin>


More information about the llvm-commits mailing list