diff options
author | Fraser Cormack <fraser@codeplay.com> | 2024-11-12 16:23:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 16:23:52 +0000 |
commit | a55248789ed3f653740e0723d016203b9d585f26 (patch) | |
tree | be52281555083bc723e3dc0050a199ef52335f79 /llvm/lib/Bitcode | |
parent | fe18ab983d08b9e1726314009d677517d9cd5935 (diff) | |
download | llvm-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 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions