[all-commits] [llvm/llvm-project] 35be4a: [SelectionDAG] Remove unecessary null check after ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Apr 11 18:08:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35be4a7af3b20447d52093ebb6f7d2420ac11270
https://github.com/llvm/llvm-project/commit/35be4a7af3b20447d52093ebb6f7d2420ac11270
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-04-11 (Mon, 11 Apr 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[SelectionDAG] Remove unecessary null check after call to getNode. NFC
As far as I know getNode will never return a null SDValue.
I'm guessing this was modeled after the FoldConstantArithmetic
call earlier.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D123550
More information about the All-commits
mailing list