Commit a9025246 authored by Tanya Lattner's avatar Tanya Lattner
Browse files

Update tests to work on ppc.

llvm-svn: 65135
parent 12229cf6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin   | grep pcmpeqd | count 1
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mcpu=yonah   | grep pcmpeqd | count 1
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1

; This testcase shouldn't need to spill the -1 value,
+1 −1
Original line number Diff line number Diff line
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin   | not grep pcmpeqd
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mcpu=yonah  | not grep pcmpeqd
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1

; This testcase should need to spill the -1 value on x86-32,
+1 −1
Original line number Diff line number Diff line
; RUN: llvm-as < %s | llc -march=x86 | grep {(%esp,%eax,4)} | count 4
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep {(%esp,%eax,4)} | count 4

; Inserts and extracts with variable indices must be lowered
; to memory accesses.
+1 −1
Original line number Diff line number Diff line
; RUN: llvm-as < %s | llc
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah

; Legalization example that requires splitting a large vector into smaller pieces.