[llvm] [NVPTX] deprecate nvvm.rotate.* intrinsics, cleanup funnel-shift handling (PR #107655)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 12:22:57 PDT 2024
================
@@ -6,19 +6,19 @@ declare i64 @llvm.nvvm.rotate.right.b64(i64, i32)
; CHECK: rotate64
define i64 @rotate64(i64 %a, i32 %b) {
-; CHECK: shl.b64 [[LHS:%.*]], [[RD1:%.*]], 3;
-; CHECK: shr.b64 [[RHS:%.*]], [[RD1]], 61;
-; CHECK: add.u64 [[RD2:%.*]], [[LHS]], [[RHS]];
+; CHECK: shr.u64 [[RHS:%.*]], [[RD1:%.*]], 61;
----------------
AlexMaclean wrote:
Updated
https://github.com/llvm/llvm-project/pull/107655
More information about the llvm-commits
mailing list