[PATCH] D112443: [SelectionDAG] Optimize expansion for rotates/funnel shifts

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 05:10:16 PDT 2021


nemanjai added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/funnel-shift-rot.ll:95-96
+; CHECK32_32-NEXT:  # %bb.1:
+; CHECK32_32-NEXT:    ori 7, 3, 0
+; CHECK32_32-NEXT:    ori 3, 4, 0
+; CHECK32_32-NEXT:    b .LBB4_3
----------------
These OR's with zero seem odd, but they are essentially just register copies so there isn't an issue with performance there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112443/new/

https://reviews.llvm.org/D112443



More information about the llvm-commits mailing list