[llvm] [VPlan] Sink single-scalar VPI to replicate regions (PR #208906)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 19 02:10:23 PDT 2026
================
@@ -7,7 +7,6 @@ define void @loop_invariant_as_cast(ptr addrspace(1) %in) {
; CHECK-NEXT: [[ENTRY:.*:]]
; CHECK-NEXT: br label %[[VECTOR_PH:.*]]
; CHECK: [[VECTOR_PH]]:
-; CHECK-NEXT: [[TMP4:%.*]] = addrspacecast ptr addrspace(1) [[IN]] to ptr
----------------
artagnon wrote:
It's a bit unfortunate that LICM runs later, and there is no way for it run earlier: I've attempted a fix nevertheless.
https://github.com/llvm/llvm-project/pull/208906
More information about the llvm-commits
mailing list