DAGCombiner::MatchBSwapHWord works for ((t0 | t1) | t2) | t3.
But for symmetric case it's broken: (t0 | t1) | (t2 | t3).
This patch fixes it and adds CodeGen test cases for ARM rev16 instruction.
Details
Details
- Reviewers
majnemer
Diff Detail
Diff Detail