diff options
author | Dmitriy Smirnov <dmitriy.smirnov@arm.com> | 2024-10-23 09:47:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 09:47:33 +0100 |
commit | 27158edaa4e18a7d7275c77e8c483dd29145c3c4 (patch) | |
tree | d14c5de04808bab9ab0bcd72d1a78704a2d0852f /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 684c26c89b8994fc31d1c4be0cf70d6cc6f2b7ca (diff) | |
download | llvm-27158edaa4e18a7d7275c77e8c483dd29145c3c4.zip llvm-27158edaa4e18a7d7275c77e8c483dd29145c3c4.tar.gz llvm-27158edaa4e18a7d7275c77e8c483dd29145c3c4.tar.bz2 |
[MLIR][SPIRV] Update cast from IntN to Bool (#113329)
This PR updates the cast to bool from IntN to treat any non-zero value
as TRUE. This makes the cast more resilient to non-generic (i.e. "non
1") TRUE values.
Signed-off-by: Dmitriy Smirnov <dmitriy.smirnov@arm.com>
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions