aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorPrakhar Dixit <dixitprakhar11@gmail.com>2025-04-17 14:47:34 +0530
committerGitHub <noreply@github.com>2025-04-17 11:17:34 +0200
commit35f4cdbf59fca82b97869cce7e9e5d5009144938 (patch)
tree3e6155a17d743e01d9b6efedb5ae5de5195db37f /clang/lib/AST/ByteCode/Compiler.cpp
parentc3c0b27f2d34cd106df278afc378c30fe493f513 (diff)
downloadllvm-35f4cdbf59fca82b97869cce7e9e5d5009144938.zip
llvm-35f4cdbf59fca82b97869cce7e9e5d5009144938.tar.gz
llvm-35f4cdbf59fca82b97869cce7e9e5d5009144938.tar.bz2
[mlir][arith] Add constraints to the MulIOp for preventing type mismatch while folding (#136093)
Fixes #135289 The original version didn't check if the types of lhs, rhs, and the result matched, which could cause type errors. This fix adds type checks to make sure the constants attributes have the same type as the SSA values before applying the simplification.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions