[llvm] [VPlan] Implement printing VPIRMetadata. (PR #168385)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 08:59:51 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]+}})
----------------
david-arm wrote:

Is it worth also changing the RUN line to generate CHECK lines for the attributes so that we can verify they are as expected?

https://github.com/llvm/llvm-project/pull/168385


More information about the llvm-commits mailing list