diff options
Diffstat (limited to 'test/CodeGen/nvptx-inlineasm-ptx.c')
| -rw-r--r-- | test/CodeGen/nvptx-inlineasm-ptx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/nvptx-inlineasm-ptx.c b/test/CodeGen/nvptx-inlineasm-ptx.c index 0a19123ee074..e5345d93de06 100644 --- a/test/CodeGen/nvptx-inlineasm-ptx.c +++ b/test/CodeGen/nvptx-inlineasm-ptx.c @@ -8,8 +8,8 @@ void constraints() { unsigned short us; int i; unsigned int ui; - long l; - unsigned long ul; + long long ll; + unsigned long long ull; float f; double d; @@ -29,9 +29,9 @@ void constraints() { asm volatile ("mov.b32 %0, %1;" : "=r"(ui) : "r"(ui)); // CHECK: i64 asm sideeffect "mov.b64 $0, $1;", "=l,l" - asm volatile ("mov.b64 %0, %1;" : "=l"(l) : "l"(l)); + asm volatile ("mov.b64 %0, %1;" : "=l"(ll) : "l"(ll)); // CHECK: i64 asm sideeffect "mov.b64 $0, $1;", "=l,l" - asm volatile ("mov.b64 %0, %1;" : "=l"(ul) : "l"(ul)); + asm volatile ("mov.b64 %0, %1;" : "=l"(ull) : "l"(ull)); // CHECK: float asm sideeffect "mov.b32 $0, $1;", "=f,f" asm volatile ("mov.b32 %0, %1;" : "=f"(f) : "f"(f)); |
