forked from OSchip/llvm-project
[mlir] Provide a home for mlir::LLVM::GEPOp::kDynamicIndex
C++14 requires this and will trigger linker errors when optimizations are disabled.
This commit is contained in:
parent
50da013406
commit
ae29d5a484
|
@ -360,6 +360,8 @@ SwitchOp::getMutableSuccessorOperands(unsigned index) {
|
|||
// Code for LLVM::GEPOp.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
constexpr int GEPOp::kDynamicIndex;
|
||||
|
||||
/// Populates `indices` with positions of GEP indices that would correspond to
|
||||
/// LLVMStructTypes potentially nested in the given type. The type currently
|
||||
/// visited gets `currentIndex` and LLVM container types are visited
|
||||
|
|
Loading…
Reference in New Issue