X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FPowerPC%2Ffast-isel-call.ll;h=64d8f6e791950872558bb96b45d172b31c0a3eb9;hb=1f9ea3a230a5cbebb20c30aad34d6cabade898e1;hp=33a8ba903e3d60590dac00bd2b076d3ba74c60c7;hpb=6398a7f5fd89996cd8c5f67aac3da5fd73924f3b;p=oota-llvm.git diff --git a/test/CodeGen/PowerPC/fast-isel-call.ll b/test/CodeGen/PowerPC/fast-isel-call.ll index 33a8ba903e3..64d8f6e7919 100644 --- a/test/CodeGen/PowerPC/fast-isel-call.ll +++ b/test/CodeGen/PowerPC/fast-isel-call.ll @@ -1,4 +1,8 @@ -; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF64 +; FIXME: FastISel currently returns false if it hits code that uses VSX +; registers and with -fast-isel-abort=1 turned on the test case will then fail. +; When fastisel better supports VSX fix up this test case. +; +; RUN: llc < %s -O0 -verify-machineinstrs -mattr=-vsx -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF64 define i32 @t1(i8 signext %a) nounwind { %1 = sext i8 %a to i32 @@ -57,11 +61,11 @@ entry: ; ELF64: t10 %call = call i32 @bar(i8 zeroext 0, i8 zeroext -8, i8 zeroext -69, i8 zeroext 28, i8 zeroext 40, i8 zeroext -70) ; ELF64: li 3, 0 -; ELF64: li 4, 248 -; ELF64: li 5, 187 +; ELF64: li 4, -8 +; ELF64: li 5, -69 ; ELF64: li 6, 28 ; ELF64: li 7, 40 -; ELF64: li 8, 186 +; ELF64: li 8, -70 ; ELF64: rldicl 3, 3, 0, 56 ; ELF64: rldicl 4, 4, 0, 56 ; ELF64: rldicl 5, 5, 0, 56 @@ -81,7 +85,7 @@ define i32 @bar0(i32 %i) nounwind { ;define void @foo3() uwtable { ; %fptr = alloca i32 (i32)*, align 8 ; store i32 (i32)* @bar0, i32 (i32)** %fptr, align 8 -; %1 = load i32 (i32)** %fptr, align 8 +; %1 = load i32 (i32)*, i32 (i32)** %fptr, align 8 ; %call = call i32 %1(i32 0) ; ret void ;}