[llvm] [LV] Avoid bailing on SCEVUnknown in uniformity-rew (PR #160144)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 14:04:15 PDT 2025
================
@@ -528,14 +528,6 @@ class SCEVAddRecForUniformityRewriter
return SCEVRewriteVisitor<SCEVAddRecForUniformityRewriter>::visit(S);
}
- const SCEV *visitUnknown(const SCEVUnknown *S) {
----------------
artagnon wrote:
Thanks a lot for the example, by the way: it is somewhat unfortunate that we're blocked on the SCEVUnknown of the load, behind which an SCEVAddRec is hiding. I wonder if we can still get the benefits of the patch by looking inside the SCEVUnknown, and asserting that it is uncomputable if it is an Instruction?
https://github.com/llvm/llvm-project/pull/160144
More information about the llvm-commits
mailing list