blob: 2074967f14b7dd948e4a3e24959a5e2d0a0f7e40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// RUN: %clang -target mips64-unknown-linux -O0 -mabi=n64 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=N64
// RUN: %clang -target mips64-unknown-linux -O0 -mabi=n32 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=N32
// RUN: %clang -target mips-unknown-linux -O0 -mabi=o32 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=O32
void foo(unsigned a) {
}
void foo1() {
unsigned f = 0xffffffe0;
foo(f);
}
// N64: call void @foo(i32 signext %0)
// N32: call void @foo(i32 signext %0)
// O32: call void @foo(i32 signext %0)
|