[PATCH] D132913: [HLSL] Preserve vec3 for HLSL.

NAKAMURA Takumi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 9 14:22:13 PDT 2022


chapuni added a comment.

The test fails for -Asserts.



================
Comment at: clang/test/CodeGenHLSL/float3.hlsl:4
+// Make sure float3 is not changed into float4.
+// CHECK:<3 x float> @"?foo@@YAT?$__vector at M$02 at __clang@@T12@@Z"(<3 x float> noundef %a)
+// CHECK:%[[A_ADDR:.+]] = alloca <3 x float>, align 16
----------------
Also `%a` may be unnamed, like `%0`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132913/new/

https://reviews.llvm.org/D132913



More information about the cfe-commits mailing list