Bump llvm-project to 3af85fa8f06220b43f03f26de216a67be4568fe7.

pull/1/head
Stella Laurenzo 2020-05-08 20:42:40 -07:00
parent e29aef855b
commit 950ba12426
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ export LDFLAGS=-fuse-ld=$(which ld.lld-$LLVM_VERSION)
export LLVM_SRC_DIR=/path/to/llvm-project
# Check out last known good commit.
(cd $LLVM_SRC_DIR && git checkout 0c4aab27b3da05dd1b0c0c39472525325fda5e23)
(cd $LLVM_SRC_DIR && git checkout 3af85fa8f06220b43f03f26de216a67be4568fe7)
./tools/install_mlir.sh
./tools/cmake_configure.sh

View File

@ -74,7 +74,7 @@ static ParseResult parseGenericUfuncOp(OpAsmParser &parser,
SmallVector<OpAsmParser::OperandType, 2> argNames;
SmallVector<Type, 2> argTypes;
SmallVector<Type, 1> resultTypes;
SmallVector<SmallVector<NamedAttribute, 2>, 1> unusedAttrs;
SmallVector<NamedAttrList, 1> unusedAttrs;
bool isVariadic = false;
if (::mlir::impl::parseFunctionSignature(parser, false, argNames, argTypes,
unusedAttrs, isVariadic,

View File

@ -18,7 +18,7 @@ using namespace mlir::NPCOMP::tcp;
LogicalResult AbortIfErrorOp::inferReturnTypes(
MLIRContext *context, Optional<Location> location, ValueRange operands,
ArrayRef<NamedAttribute> attributes, RegionRange regions,
DictionaryAttr attributes, RegionRange regions,
SmallVectorImpl<Type> &inferredReturnTypes) {
inferredReturnTypes.push_back(NoneType::get(context));
return success();
@ -30,7 +30,7 @@ LogicalResult AbortIfErrorOp::inferReturnTypes(
LogicalResult GetExtentOp::inferReturnTypes(
MLIRContext *context, Optional<Location> location, ValueRange operands,
ArrayRef<NamedAttribute> attributes, RegionRange regions,
DictionaryAttr attributes, RegionRange regions,
SmallVectorImpl<Type> &inferredReturnTypes) {
inferredReturnTypes.push_back(IndexType::get(context));
return success();