[all-commits] [llvm/llvm-project] aff4ed: [mlir][NFC] Update Operation::getResultTypes to us...
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Jan 27 20:08:13 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: aff4ed73268d4930618b547bde21325bf8b662b7
https://github.com/llvm/llvm-project/commit/aff4ed73268d4930618b547bde21325bf8b662b7
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mlir/include/mlir/IR/OpImplementation.h
M mlir/include/mlir/IR/Operation.h
M mlir/include/mlir/IR/OperationSupport.h
M mlir/lib/Analysis/InferTypeOpInterface.cpp
M mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
M mlir/lib/Dialect/StandardOps/Ops.cpp
M mlir/lib/IR/Operation.cpp
M mlir/lib/IR/OperationSupport.cpp
M mlir/lib/Transforms/CSE.cpp
M mlir/test/lib/TestDialect/TestPatterns.cpp
Log Message:
-----------
[mlir][NFC] Update Operation::getResultTypes to use ArrayRef<Type> instead of iterator_range.
Summary: The new internal representation of operation results now allows for accessing the result types to be more efficient. Changing the API to ArrayRef is more efficient and removes the need to explicitly materialize vectors in several places.
Differential Revision: https://reviews.llvm.org/D73429
More information about the All-commits
mailing list