[llvm] [VPlan] Wrap SCEVAddRecExprs in VPExpandSCEVRecipe in VPSCEVExpander. (PR #210013)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 02:33:48 PDT 2026
================
@@ -0,0 +1,346 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals none --version 6
+; RUN: opt -passes=loop-vectorize -force-vector-width=4 -S %s | FileCheck %s
+
+declare i32 @cond()
+
+; FIXME: ptrtoaddr(%bound) should only be expanded once; see the two
+; ptrtoaddr instructions in the CHECK block below.
+define i32 @ptrtoaddr_expanded_twice(ptr %bound, ptr %dst) {
----------------
artagnon wrote:
Yes, saw them, and yes, it's the same root cause. Thanks for adding the tests!
https://github.com/llvm/llvm-project/pull/210013
More information about the llvm-commits
mailing list