[DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Aug 2022 15:42:10 +0000 (16:42 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Aug 2022 15:42:19 +0000 (16:42 +0100)
commited162d455a6585a75290c60c934b2a514ac55747
treeaeac90d62f3f35d2aad2dbbda22ac71cb993b556
parentee27bca2e2c75593e0d794ba23e054af319d04c7
[DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed. NFC.

Very minor optimization, but every little helps..
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp