forked from OSchip/llvm-project
Fix build of llvm-prettyprinters/gdb/mlir-support.cpp test
This is just fixing the build itself, the test won't pass right now.
This commit is contained in:
parent
09f43c107f
commit
eec312ee7f
|
@ -9,8 +9,6 @@ mlir::MLIRContext Context;
|
|||
|
||||
auto Identifier = mlir::Identifier::get("foo", &Context);
|
||||
mlir::OperationName OperationName("FooOp", &Context);
|
||||
mlir::Value Value({reinterpret_cast<void *>(0x8),
|
||||
mlir::Value::Kind::TrailingOpResult});
|
||||
|
||||
mlir::Type Type(nullptr);
|
||||
mlir::Type IndexType = mlir::IndexType::get(&Context);
|
||||
|
@ -23,6 +21,10 @@ mlir::Type VectorType = mlir::VectorType::get({1, 2}, FloatType);
|
|||
mlir::Type TupleType =
|
||||
mlir::TupleType::get(&Context, mlir::TypeRange({IndexType, FloatType}));
|
||||
|
||||
|
||||
mlir::detail::OutOfLineOpResult Result(FloatType, 42);
|
||||
mlir::Value Value(&Result);
|
||||
|
||||
auto UnknownLoc = mlir::UnknownLoc::get(&Context);
|
||||
auto FileLineColLoc = mlir::FileLineColLoc::get(&Context, "file", 7, 8);
|
||||
auto OpaqueLoc = mlir::OpaqueLoc::get<uintptr_t>(9, &Context);
|
||||
|
|
Loading…
Reference in New Issue