aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorDmitriy Smirnov <dmitriy.smirnov@arm.com>2024-10-23 09:47:33 +0100
committerGitHub <noreply@github.com>2024-10-23 09:47:33 +0100
commit27158edaa4e18a7d7275c77e8c483dd29145c3c4 (patch)
treed14c5de04808bab9ab0bcd72d1a78704a2d0852f /llvm/lib/CodeGen/CodeGen.cpp
parent684c26c89b8994fc31d1c4be0cf70d6cc6f2b7ca (diff)
downloadllvm-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