Skip to content
Unverified Commit 3764f5e8 authored by Rik Huijzer's avatar Rik Huijzer Committed by GitHub
Browse files

[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: default avatarTobias Gysi <tobias.gysi@nextsilicon.com>
parent 01ac530a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment