[PATCH] D73429: [mlir][NFC] Update Operation::getResultTypes to use ArrayRef<Type> instead of iterator_range.
    River Riddle via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jan 26 03:08:01 PST 2020
    
    
  
rriddle created this revision.
rriddle added a reviewer: mehdi_amini.
Herald added subscribers: llvm-commits, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar.
Herald added a reviewer: mravishankar.
Herald added a reviewer: antiagainst.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
rriddle added a child revision: D73430: [mlir] Optimize OpResult use case for single result operations..
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.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D73429
Files:
  mlir/include/mlir/IR/OpImplementation.h
  mlir/include/mlir/IR/Operation.h
  mlir/include/mlir/IR/OperationSupport.h
  mlir/lib/Analysis/InferTypeOpInterface.cpp
  mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
  mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
  mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
  mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
  mlir/lib/Dialect/StandardOps/Ops.cpp
  mlir/lib/IR/Operation.cpp
  mlir/lib/IR/OperationSupport.cpp
  mlir/lib/Transforms/CSE.cpp
  mlir/test/lib/TestDialect/TestPatterns.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73429.240425.patch
Type: text/x-patch
Size: 11487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200126/f8b27a53/attachment.bin>
    
    
More information about the llvm-commits
mailing list