[CodeGen] Don't compare bool with integer 0. NFC
authorCraig Topper <craig.topper@sifive.com>
Mon, 18 Jul 2022 05:45:05 +0000 (22:45 -0700)
committerCraig Topper <craig.topper@sifive.com>
Mon, 18 Jul 2022 06:16:14 +0000 (23:16 -0700)
commit795602af0c20ad54189f94d13017b276c920d6f9
treeb51378c4bc2428fa5c246700e7e82430974c4d69
parent0e3447bf8a3aa1b70fa5fb61228a9150c9ea1e5b
[CodeGen] Don't compare bool with integer 0. NFC

The IsAdd field is a bool.
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp