aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorRobert Konicar <rkonicar@mail.muni.cz>2025-04-16 11:49:19 +0200
committerGitHub <noreply@github.com>2025-04-16 11:49:19 +0200
commitb9ce185d4e542dde5e8d152f30314b6637a0d87b (patch)
treea6bfa79282df5e22beef27e377cbf6454c7457e2 /clang/lib/Sema/SemaModule.cpp
parent1f96aea037e612d87b4e2e20825973e45680921c (diff)
downloadllvm-b9ce185d4e542dde5e8d152f30314b6637a0d87b.zip
llvm-b9ce185d4e542dde5e8d152f30314b6637a0d87b.tar.gz
llvm-b9ce185d4e542dde5e8d152f30314b6637a0d87b.tar.bz2
[MLIR][LLVM] Fix #llvm.constant_range crashing in storage uniquer (#135772)
Add APIntParameter with custom implementation for comparison and use it in llvm.constant_range attribute. This is necessary because the default equality operator of APInt asserts when the bit widths of the compared APInts differ. The comparison is used by StorageUniquer when hashes of two ranges with different bit widths collide.
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions