[all-commits] [llvm/llvm-project] 27158e: [MLIR][SPIRV] Update cast from IntN to Bool (#113329)
Dmitriy Smirnov via All-commits
all-commits at lists.llvm.org
Wed Oct 23 01:47:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27158edaa4e18a7d7275c77e8c483dd29145c3c4
https://github.com/llvm/llvm-project/commit/27158edaa4e18a7d7275c77e8c483dd29145c3c4
Author: Dmitriy Smirnov <dmitriy.smirnov at arm.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
Log Message:
-----------
[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 at arm.com>
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