mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
FileCheckize and break dependence on coalescing order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f695b3ad62
commit
14c76fed2d
@ -1,14 +1,12 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 6, 3}
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 4, 2}
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {li 3, 0}
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
||||
; RUN: grep {mr 5, 3}
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
||||
|
||||
declare void @bar(i64 %x, i64 %y)
|
||||
|
||||
; CHECK: li 4, 2
|
||||
; CHECK: li {{[53]}}, 0
|
||||
; CHECK: li 6, 3
|
||||
; CHECK: mr {{[53]}}, {{[53]}}
|
||||
|
||||
define void @foo() {
|
||||
call void @bar(i64 2, i64 3)
|
||||
ret void
|
||||
|
Loading…
x
Reference in New Issue
Block a user