[all-commits] [llvm/llvm-project] a55248: [libclc] Avoid using undefined vector3 components ...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Nov 12 08:24:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a55248789ed3f653740e0723d016203b9d585f26
https://github.com/llvm/llvm-project/commit/a55248789ed3f653740e0723d016203b9d585f26
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2024-11-12 (Tue, 12 Nov 2024)
Changed paths:
M libclc/generic/lib/math/clc_remquo.cl
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list