[PATCH] D136415: [LSR] Check if terminating value is safe to expand before transformation

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 20:28:26 PDT 2022


eopXD created this revision.
eopXD added reviewers: JojoR, fhahn, Meinersbur, craig.topper.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
eopXD requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

According to report by @JojoR, the assertion error was hit hence we need
to have this check before the actual transformation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136415

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136415.469458.patch
Type: text/x-patch
Size: 4583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/ec695b0c/attachment.bin>


More information about the llvm-commits mailing list