[PATCH] D107185: [LoopStrengthReduction] Fix pointer to int extend asserts

Brendon Cahoon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 12:54:50 PDT 2021


bcahoon updated this revision to Diff 363187.
bcahoon added a comment.

Moved checks for pointer type in ScaledReg and BaseRegs to outside the loop.


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

https://reviews.llvm.org/D107185

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-invalid-ptr-extend.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107185.363187.patch
Type: text/x-patch
Size: 6645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210730/505bb05e/attachment.bin>


More information about the llvm-commits mailing list