mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Add an explicit triple to the big-endian tests so that the assembly
output format is always consistent with what the greps are looking for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fccf0a2b25
commit
89a3066356
@ -1,5 +1,7 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {addc 4, 4, 6}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {adde 3, 3, 5}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {addc 4, 4, 6}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {adde 3, 3, 5}
|
||||
|
||||
define i64 @foo(i64 %x, i64 %y) {
|
||||
%z = add i64 %x, %y
|
||||
|
@ -1,7 +1,11 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 6, 3}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 4, 2}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 3, 0}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep {mr 5, 3}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 6, 3}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 4, 2}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 3, 0}
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {mr 5, 3}
|
||||
|
||||
declare void @bar(i64 %x, i64 %y)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user