[all-commits] [llvm/llvm-project] 60b884: [mlir] Optimize OpResult use case for single resul...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Jan 28 11:21:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60b884208427f8cd317e8d40e64f113c6475c609
      https://github.com/llvm/llvm-project/commit/60b884208427f8cd317e8d40e64f113c6475c609
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M mlir/include/mlir/IR/UseDefLists.h
    M mlir/lib/IR/Value.cpp

  Log Message:
  -----------
  [mlir] Optimize OpResult use case for single result operations.

Summary:
Operation represents all of the uses of each result with one use list, so manipulating the use list of a specific result requires filtering the main use list. This revision adds an optimization for the case of single result operations to avoid this filtering.

Differential Revision: https://reviews.llvm.org/D73430




More information about the All-commits mailing list