[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>
Loading
Please sign in to comment