[clang] [HLSL] Convert vectors to bool for unary ! (PR #163857)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 16 14:28:10 PDT 2025
llvm-beanz wrote:
@erichkeane might be the right person to weigh in on the C/C++ side, but my guess is that C++ does what it currently does intentionally for compatibility with SSE where boolean true in vectors is expected to be all bits on (so sign-extending i1 gets the intended result).
https://github.com/llvm/llvm-project/pull/163857
More information about the cfe-commits
mailing list