[all-commits] [llvm/llvm-project] 641dba: [DAG] Move a few hasOneUse() tests later to reduce...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Jul 29 03:34:56 PDT 2022
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-07-29 (Fri, 29 Jul 2022)
[DAG] Move a few hasOneUse() tests later to reduce unnecessary computations. NFC.
Many of these cases, an early-out on the much cheaper getOpcode() check will avoid us needing to call hasOneUse() entirely.
More information about the All-commits