blob: 7870666025752e0bcd09a9ee1e96362c669fada5 [file] [log] [blame]
Eric Christopher50ab0392012-05-07 03:13:32 +00001;
2; Register constraint "r" shouldn't take long long unless
3; The target is 64 bit.
4;
5;
6; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n64 < %s | FileCheck %s
7
8
9define i32 @main() nounwind {
10entry:
11
12
13; r with long long
14;CHECK: #APP
15;CHECK: addi ${{[0-9]+}},${{[0-9]+}},3
16;CHECK: #NO_APP
17 tail call i64 asm sideeffect "addi $0,$1,$2", "=r,r,i"(i64 7, i64 3) nounwind
18 ret i32 0
19}
20