[all-commits] [llvm/llvm-project] ee90bb: Store (cache) the Argument number (index in the ar...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Sat Feb 27 09:21:27 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee90bb3486948c472a67ec3ca0f0d64927f6643d
https://github.com/llvm/llvm-project/commit/ee90bb3486948c472a67ec3ca0f0d64927f6643d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-02-27 (Sat, 27 Feb 2021)
Changed paths:
M mlir/include/mlir/IR/Value.h
M mlir/lib/IR/Block.cpp
Log Message:
-----------
Store (cache) the Argument number (index in the argument list) inside the BlockArgumentImpl
This avoids linear search in BlockArgument::getArgNumber().
Differential Revision: https://reviews.llvm.org/D97596
More information about the All-commits
mailing list