blob: 8131f13a6e82fcaf474f8db566f389468af481a9 [file] [log] [blame]
Justin Holewinski7d8895e2011-04-20 15:37:17 +00001; RUN: llc < %s -march=ptx32 | FileCheck %s
Che-Liang Chioub1df0fe2011-03-18 11:23:56 +00002
3; CHECK: .func (.reg .u32 r0) test_parameter_order (.reg .u32 r1, .reg .u32 r2)
4define ptx_device i32 @test_parameter_order(i32 %x, i32 %y) {
5; CHECK: sub.u32 r0, r1, r2
6 %z = sub i32 %x, %y
7 ret i32 %z
8}