[llvm] [VPlan] Sink single-scalar VPI to replicate regions (PR #208906)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 19 00:13:10 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
----------------
lukel97 wrote:
This is sinking from the preheader, which isn't profitable either
https://github.com/llvm/llvm-project/pull/208906
More information about the llvm-commits
mailing list