mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
|
||||
|
||||
; Very basic fast-isel functionality.
|
||||
define i32 @add(i32 %a, i32 %b) nounwind {
|
||||
define i32 @test0(i32 %a, i32 %b) nounwind {
|
||||
entry:
|
||||
%a.addr = alloca i32, align 4
|
||||
%b.addr = alloca i32, align 4
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
%umul.ty = type { i32, i1 }
|
||||
|
||||
define i32 @func(i32 %a) nounwind {
|
||||
; CHECK: func
|
||||
define i32 @test1(i32 %a) nounwind {
|
||||
; CHECK: test1:
|
||||
; CHECK: muldi3
|
||||
%tmp0 = tail call %umul.ty @llvm.umul.with.overflow.i32(i32 %a, i32 37)
|
||||
%tmp1 = extractvalue %umul.ty %tmp0, 0
|
||||
@@ -13,8 +13,8 @@ define i32 @func(i32 %a) nounwind {
|
||||
|
||||
declare %umul.ty @llvm.umul.with.overflow.i32(i32, i32) nounwind readnone
|
||||
|
||||
define i32 @f(i32 %argc, i8** %argv) ssp {
|
||||
; CHECK: func
|
||||
define i32 @test2(i32 %argc, i8** %argv) ssp {
|
||||
; CHECK: test2:
|
||||
; CHECK: str r0
|
||||
; CHECK: movs r2
|
||||
; CHECK: mov r1
|
||||
|
||||
Reference in New Issue
Block a user