[llvm] [VPlan] Implement printing VPIRMetadata. (PR #168385)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 04:03:44 PST 2025
================
@@ -7,11 +7,11 @@ define void @test_widen_metadata(ptr noalias %A, ptr noalias %B, i32 %n) {
; CHECK: VPlan 'Initial VPlan for VF={4},UF>=1' {
; CHECK: <x1> vector loop: {
; CHECK: vector.body:
-; CHECK: WIDEN ir<%lv> = load vp<{{.*}}>
-; CHECK: WIDEN-CAST ir<%conv> = sitofp ir<%lv> to float
-; CHECK: WIDEN ir<%mul> = fmul ir<%conv>, ir<2.000000e+00>
+; CHECK: WIDEN ir<%lv> = load vp<{{.*}}> (!tbaa !{{[0-9]+}})
----------------
fhahn wrote:
Updated to check against the metadata from the corresponding IR instructions, thanks
https://github.com/llvm/llvm-project/pull/168385
More information about the llvm-commits
mailing list