diff options
author | Rik Huijzer <github@huijzer.xyz> | 2023-12-11 12:29:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 12:29:53 +0100 |
commit | 3764f5e816f3769bd1770062e65fcc0192464f8a (patch) | |
tree | 73ffcd53fda79628cbb98e3086fbc0b1b8ddb9ea /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 01ac530a2ea3ee0c24b729a8f3c16ac85542cd15 (diff) | |
download | llvm-3764f5e816f3769bd1770062e65fcc0192464f8a.zip llvm-3764f5e816f3769bd1770062e65fcc0192464f8a.tar.gz llvm-3764f5e816f3769bd1770062e65fcc0192464f8a.tar.bz2 |
[mlir][llvm] Fix negative GEP crash in type consistency (#74859)
Fixes https://github.com/llvm/llvm-project/issues/74453.
The `gepToByteOffset` was implicitly casting an signed integer to an
unsigned integer even though negative dimensions are valid for
`llvm.getelementptr`.
---------
Co-authored-by: Tobias Gysi <tobias.gysi@nextsilicon.com>
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions