1 ; FIXME: FastISel currently returns false if it hits code that uses VSX
2 ; registers and with -fast-isel-abort=1 turned on the test case will then fail.
3 ; When fastisel better supports VSX fix up this test case.
5 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | FileCheck %s --check-prefix=ELF64
7 define zeroext i1 @rettrue() nounwind {
15 define zeroext i1 @retfalse() nounwind {
17 ; ELF64-LABEL: retfalse
23 define signext i1 @retstrue() nounwind {
25 ; ELF64-LABEL: retstrue
31 define signext i1 @retsfalse() nounwind {
33 ; ELF64-LABEL: retsfalse
39 define signext i8 @ret2(i8 signext %a) nounwind {
47 define zeroext i8 @ret3(i8 signext %a) nounwind {
50 ; ELF64: rldicl {{[0-9]+}}, {{[0-9]+}}, 0, 56
55 define signext i16 @ret4(i16 signext %a) nounwind {
63 define zeroext i16 @ret5(i16 signext %a) nounwind {
66 ; ELF64: rldicl {{[0-9]+}}, {{[0-9]+}}, 0, 48
71 define i16 @ret6(i16 %a) nounwind {
74 ; ELF64: rldicl {{[0-9]+}}, {{[0-9]+}}, 0, 48
79 define signext i32 @ret7(i32 signext %a) nounwind {
87 define zeroext i32 @ret8(i32 signext %a) nounwind {
90 ; ELF64: rldicl {{[0-9]+}}, {{[0-9]+}}, 0, 32
95 define i32 @ret9(i32 %a) nounwind {
98 ; ELF64: rldicl {{[0-9]+}}, {{[0-9]+}}, 0, 32
103 define i64 @ret10(i64 %a) nounwind {
112 define float @ret11(float %a) nounwind {
119 define double @ret12(double %a) nounwind {
126 define i8 @ret13() nounwind {
134 define i16 @ret14() nounwind {
142 define i32 @ret15() nounwind {
151 define i64 @ret16() nounwind {
162 define float @ret17() nounwind {
171 define double @ret18() nounwind {
180 define zeroext i32 @ret19() nounwind {