[PATCH] D50091: [SelectionDAG] try harder to convert funnel shift to rotate
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 10:49:52 PDT 2018
spatel added inline comments.
================
Comment at: test/CodeGen/PowerPC/funnel-shift-rot.ll:158
; CHECK-NEXT: neg 4, 4
-; CHECK-NEXT: rlwinm 4, 4, 0, 26, 31
-; CHECK-NEXT: rotld 3, 3, 4
+; CHECK-NEXT: rldcl 3, 3, 4, 0
; CHECK-NEXT: blr
----------------
This is weird (independent of this patch) - rldcl 3,3,4,0 is rotld 3,3,4.
We used the extended mnemonic for rotate before, but now we failed to print that?
https://reviews.llvm.org/D50091
More information about the llvm-commits
mailing list