[PATCH] D132913: [HLSL] Preserve vec3 for HLSL.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 9 14:28:10 PDT 2022
python3kgae added inline comments.
================
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
----------------
chapuni wrote:
> Also `%a` may be unnamed, like `%0`
Thanks for pointing this out.
I'll fix it.
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