aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2024-11-12 16:23:52 +0000
committerGitHub <noreply@github.com>2024-11-12 16:23:52 +0000
commita55248789ed3f653740e0723d016203b9d585f26 (patch)
treebe52281555083bc723e3dc0050a199ef52335f79 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parentfe18ab983d08b9e1726314009d677517d9cd5935 (diff)
downloadllvm-a55248789ed3f653740e0723d016203b9d585f26.zip
llvm-a55248789ed3f653740e0723d016203b9d585f26.tar.gz
llvm-a55248789ed3f653740e0723d016203b9d585f26.tar.bz2
[libclc] Avoid using undefined vector3 components (#115857)
Using '.hi' on a vector3 is technically allowed by the spec and is treated as a 4-element vector with an "undefined" w component. However, it's more undef/poison code for the compiler to process and remove. We can easily avoid it with a dedicated macro.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions