brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · a967ad6 Raw
29 lines · plain
1; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=PPC642; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr7 | FileCheck %s --check-prefix=PPC643 4define zeroext i1 @testi1(i8 %in) nounwind {5entry:6  %c = icmp eq i8 %in, 57  br i1 %c, label %true, label %false8 9; PPC64-LABEL: @testi110 11true:12  br label %end13 14; PPC64-NOT: li {{[0-9]+}}, -115; PPC64: li {{[0-9]+}}, 116 17false:18  br label %end19 20; PPC64: li {{[0-9]+}}, 021 22end:23  %r = phi i1 [ 0, %false], [ 1, %true ]24  ret i1 %r25 26; PPC64: blr27}28 29