[mlir][LLVM] Add OpBuilder for opaque pointer GEPs without struct indices
authorMarkus Böck <markus.boeck02@gmail.com>
Sat, 16 Jul 2022 08:55:49 +0000 (10:55 +0200)
committerMarkus Böck <markus.boeck02@gmail.com>
Sat, 16 Jul 2022 08:55:49 +0000 (10:55 +0200)
commit884d310d8774400abe572443362b7732f23c1ed4
treeeab3c880814bec5002053ca21e200a288833cdb1
parentf9d6f37201eb45a831a99204281f963f2748b786
[mlir][LLVM] Add OpBuilder for opaque pointer GEPs without struct indices

An OpBuilder already exists for GEPs that does not have any struct indices for existing typed pointers, but no such builder exists for GEPs utilizing opaque pointers that has an explicit `basePtrType`.

Differential Revision: https://reviews.llvm.org/D129376
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp