[PATCH] D83948: [PowerPC] Custom lowering for funnel shifts
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 07:16:40 PDT 2020
spatel added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/funnel-shift.ll:31-43
+define i64 @fshl_i64(i64 %x, i64 %y, i64 %z) {
+; CHECK-LABEL: fshl_i64:
+; CHECK: # %bb.0:
+; CHECK-NEXT: clrlwi 5, 5, 26
+; CHECK-NEXT: subfic 6, 5, 64
+; CHECK-NEXT: sld 3, 3, 5
+; CHECK-NEXT: srd 4, 4, 6
----------------
foad wrote:
> Can I pre-commit this new test case, and fshr_i64?
Yes, please pre-commit those, so we see the diffs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83948/new/
https://reviews.llvm.org/D83948
More information about the llvm-commits
mailing list