projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the generation of the vmuluwm instruction to be based on the MUL opcode.
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
fast-isel-call.ll
diff --git
a/test/CodeGen/PowerPC/fast-isel-call.ll
b/test/CodeGen/PowerPC/fast-isel-call.ll
index 33a8ba903e3d60590dac00bd2b076d3ba74c60c7..64d8f6e791950872558bb96b45d172b31c0a3eb9 100644
(file)
--- 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
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: 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,
24
8
-; ELF64: li 5,
187
+; ELF64: li 4,
-
8
+; ELF64: li 5,
-69
; ELF64: li 6, 28
; ELF64: li 7, 40
; 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
; 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
;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
;}
; %call = call i32 %1(i32 0)
; ret void
;}