Extract the functionality to combine OR to BFI into its own function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/ARM/ARMISelLowering.cpp | ||
---|---|---|
10402 ↗ | (On Diff #119326) | You're now returning N in an SDValue and that gets returned from PerformORCombine, so now we will be adding the new nodes to the DAG combiner worklist. Is this intentional? Either way something needs to be adjusted here (and in the other places where this comment occurs). |
10557–10559 ↗ | (On Diff #119326) | It would be better to do this in PerformORCombineToBFI (in general less preconditions is better). |
lib/Target/ARM/ARMISelLowering.cpp | ||
---|---|---|
10402 ↗ | (On Diff #119326) | Yes, returning an SDValue of the original SDNode tells the combiner than N is now dead. I will update the comment. |
10557–10559 ↗ | (On Diff #119326) | Ah yes, cheers. |