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
12; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
23; RUN: -mcpu=pwr8 < %s | FileCheck %s
34
67
78; Function Attrs: norecurse nounwind readonly
89define 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
917entry:
1018 %0 = load i32 , ptr %s_a , align 8 , !tbaa !1
1119 %and.i = and i32 %0 , 8
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 }
You can’t perform that action at this time.
0 commit comments