File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
llvm/test/CodeGen/PowerPC Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
1
2
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
2
3
; RUN: -mcpu=pwr8 < %s | FileCheck %s
3
4
6
7
7
8
; Function Attrs: norecurse nounwind readonly
8
9
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
9
17
entry:
10
18
%0 = load i32 , ptr %s_a , align 8 , !tbaa !1
11
19
%and.i = and i32 %0 , 8
15
23
%cmp.i5 = icmp ne i32 %and.i4 , 0
16
24
%cmp = xor i1 %cmp.i , %cmp.i5
17
25
ret i1 %cmp
18
- ; CHECK-LABEL: @foo
19
- ; CHECK: rldicl {{[0-9]+}}, {{[0-9]+}}, 61, 63
20
-
21
26
}
22
27
23
28
!1 = !{!2 , !2 , i64 0 }
You can’t perform that action at this time.
0 commit comments