diff --git a/llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll b/llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll index 5bede7f70b40a..c3b43935281a2 100644 --- a/llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll +++ b/llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll @@ -296,7 +296,9 @@ define void @store_of_constant(ptr %p) { ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> poison, ptr %p, align 16 ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr %p, align 16 ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> zeroinitializer, ptr %p, align 16 +; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> zeroinitializer, ptr %p, align 32 ; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: store <4 x i32> , ptr %p, align 16 +; CHECK-NEXT: Cost Model: Found an estimated cost of 5 for instruction: store <4 x i64> , ptr %p, align 32 ; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: store <4 x i32> , ptr %p, align 16 ; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: store <4 x i32> , ptr %p, align 16 ; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: store <4 x i32> , ptr %p, align 16 @@ -315,7 +317,9 @@ define void @store_of_constant(ptr %p) { ; Various splats store <4 x i32> zeroinitializer, ptr %p + store <4 x i64> zeroinitializer, ptr %p store <4 x i32> , ptr %p + store <4 x i64> , ptr %p store <4 x i32> , ptr %p ; Nearly splats