[all-commits] [llvm/llvm-project] 6f5c68: Avoid one branch in Operation::getOpOperand()/getO...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Wed Oct 13 02:07:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f5c6858392415fa245f99ebdb9da0795a85c1a6
https://github.com/llvm/llvm-project/commit/6f5c6858392415fa245f99ebdb9da0795a85c1a6
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-10-13 (Wed, 13 Oct 2021)
Changed paths:
M mlir/include/mlir/IR/Operation.h
Log Message:
-----------
Avoid one branch in Operation::getOpOperand()/getOperand() (NFC)
Skip the check on "hasOperandStorage" since the array will be indexed anyway.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D111696
More information about the All-commits
mailing list