[llvm] 64ffcba - [PowerPC] Regenerate pr35402.ll test checks
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 03:01:57 PDT 2022
Author: Simon Pilgrim
Date: 2022-07-13T11:01:44+01:00
New Revision: 64ffcba1f8efb1f340052581fc4442873b383db3
URL: https://github.com/llvm/llvm-project/commit/64ffcba1f8efb1f340052581fc4442873b383db3
DIFF: https://github.com/llvm/llvm-project/commit/64ffcba1f8efb1f340052581fc4442873b383db3.diff
LOG: [PowerPC] Regenerate pr35402.ll test checks
Added:
Modified:
llvm/test/CodeGen/PowerPC/pr35402.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/PowerPC/pr35402.ll b/llvm/test/CodeGen/PowerPC/pr35402.ll
index 06e6d963b13f..3bc7a940af42 100644
--- a/llvm/test/CodeGen/PowerPC/pr35402.ll
+++ b/llvm/test/CodeGen/PowerPC/pr35402.ll
@@ -1,18 +1,28 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -O2 < %s | FileCheck %s
target triple = "powerpc64le-linux-gnu"
define void @test(i8* %p, i64 %data) {
+; CHECK-LABEL: test:
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: rotldi 5, 4, 16
+; CHECK-NEXT: rldicl 6, 4, 8, 56
+; CHECK-NEXT: rotldi 7, 4, 24
+; CHECK-NEXT: rldimi 6, 5, 8, 48
+; CHECK-NEXT: rldimi 6, 7, 16, 40
+; CHECK-NEXT: rotldi 5, 4, 32
+; CHECK-NEXT: rlwinm 7, 4, 8, 24, 31
+; CHECK-NEXT: rldimi 6, 5, 24, 32
+; CHECK-NEXT: rlwimi 7, 4, 24, 16, 23
+; CHECK-NEXT: sth 7, 4(3)
+; CHECK-NEXT: stw 6, 0(3)
+; CHECK-NEXT: blr
entry:
%0 = tail call i64 @llvm.bswap.i64(i64 %data)
%ptr = bitcast i8* %p to i48*
%val = trunc i64 %0 to i48
store i48 %val, i48* %ptr, align 1
ret void
-
-; CHECK: sth
-; CHECK: stw
-; CHECK-NOT: stdbrx
-
}
declare i64 @llvm.bswap.i64(i64)
More information about the llvm-commits
mailing list