[NFC] Cleanup test for D132913 Preserve vec3 for HLSL

Support number for parameter test added in
https://reviews.llvm.org/D132913
This commit is contained in:
Xiang Li 2022-09-09 15:03:35 -07:00
parent 1a608cfb5c
commit 71fae33f5e
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
// RUN: %clang --driver-mode=dxc -Tlib_6_7 -fcgl -Fo - %s | FileCheck %s
// Make sure float3 is not changed into float4.
// CHECK:<3 x float> @"?foo@@YAT?$__vector@M$02@__clang@@T12@@Z"(<3 x float> noundef %a)
// CHECK:<3 x float> @"?foo@@YAT?$__vector@M$02@__clang@@T12@@Z"(<3 x float> noundef %[[PARAM:[0-9a-zA-Z]+]])
// CHECK:%[[A_ADDR:.+]] = alloca <3 x float>, align 16
// CHECK-NEXT:store <3 x float> %a, ptr %[[A_ADDR]], align 16
// CHECK-NEXT:store <3 x float> %[[PARAM]], ptr %[[A_ADDR]], align 16
// CHECK-NEXT:%[[V:[0-9]+]] = load <3 x float>, ptr %[[A_ADDR]], align 16
// CHECK-NEXT:ret <3 x float> %[[V]]
float3 foo(float3 a) {