Skip to content

Commit d0db199

Browse files
committed
[PowerPC] anyext_srl.ll - regenerate checks
1 parent ec752c6 commit d0db199

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

llvm/test/CodeGen/PowerPC/anyext_srl.ll

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
12
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
23
; RUN: -mcpu=pwr8 < %s | FileCheck %s
34

@@ -6,6 +7,13 @@
67

78
; Function Attrs: norecurse nounwind readonly
89
define zeroext i1 @foo(ptr %s_a, ptr %s_b) local_unnamed_addr {
10+
; CHECK-LABEL: foo:
11+
; CHECK: # %bb.0: # %entry
12+
; CHECK-NEXT: lbz 3, 0(3)
13+
; CHECK-NEXT: lbz 4, 0(4)
14+
; CHECK-NEXT: xor 3, 3, 4
15+
; CHECK-NEXT: rldicl 3, 3, 61, 63
16+
; CHECK-NEXT: blr
917
entry:
1018
%0 = load i32, ptr %s_a, align 8, !tbaa !1
1119
%and.i = and i32 %0, 8
@@ -15,9 +23,6 @@ entry:
1523
%cmp.i5 = icmp ne i32 %and.i4, 0
1624
%cmp = xor i1 %cmp.i, %cmp.i5
1725
ret i1 %cmp
18-
; CHECK-LABEL: @foo
19-
; CHECK: rldicl {{[0-9]+}}, {{[0-9]+}}, 61, 63
20-
2126
}
2227

2328
!1 = !{!2, !2, i64 0}

0 commit comments

Comments
 (0)