There no other code between two if, so I think could merge those two if statements. That make more sense.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131941
[DAGCombiner][NFC] Merge two if statement into one ClosedPublic Authored by Jimerlife on Aug 15 2022, 11:34 PM.
Details Summary There no other code between two if, so I think could merge those two if statements. That make more sense.
Diff Detail
Event TimelineRKSimon retitled this revision from [DAGCombiner][NFC] Megre two if statement into one to [DAGCombiner][NFC] Merge two if statement into one.Aug 16 2022, 9:29 AM RKSimon added inline comments. This revision is now accepted and ready to land.Aug 17 2022, 3:31 AM This revision was landed with ongoing or failed builds.Aug 17 2022, 7:13 PM Closed by commit rG230e277dfe42: [DAGCombiner][NFC] Merge two if statement into one. (authored by Jimerlife). · Explain Why This revision was automatically updated to reflect the committed changes. Jimerlife marked an inline comment as done.
Revision Contents
Diff 452898 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
|
NewStep isn't a reference - its a new result.