This avoid the need to duplicate all pattern and actually end up exposing some opportunity to optimize existing pattern that did not exists in both directions on an existing test case.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3629 Build 3629: arc lint + arc unit
Event Timeline
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
1795 | Why not replace SDNode *LocReference by const SDLoc &DL? |
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
1795 | I followed the pattern that is used for other visitFOOLike . Also having the node available maybe come up handy if other information are required in the future. I was some factorization could be done between this and visitADDC. |
Why not replace SDNode *LocReference by const SDLoc &DL?