This allows for some simplification because the combines
are no longer limited to just one go at the node before
it gets legalized into an ARM target-specific one.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi Artyom,
Thanks for working on this, it really cleans up the code. Just a couple of inline comments from me.
cheers,
sam
lib/Target/ARM/ARMISelLowering.cpp | ||
---|---|---|
9451 ↗ | (On Diff #89862) | I think it would be a good idea to update this comment with the new pattern. |
9563 ↗ | (On Diff #89862) | just another small comment update required. |
lib/Target/ARM/ARMISelLowering.cpp | ||
---|---|---|
9451 ↗ | (On Diff #89862) | The pattern remains unchanged; it's the namespace of ADDC and ADDE nodes (which isn't reflected in this comment) which changed. |
9563 ↗ | (On Diff #89862) | Thanks for pointing my attention to this one! Indeed, with the new arrangement, ARMTargetLowering::PerformDAGCombine can do all necessary combines, so that the "second pass" in ARMDAGToDAGISel::Select would no longer be necessary. |
lib/Target/ARM/ARMISelDAGToDAG.cpp | ||
---|---|---|
3098 ↗ | (On Diff #90029) | Its great you moved this to DAGCombine, but just remove the comment too. |