From 5a5ac124e1efaf208671f01c46edb15f29ed2a0b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 27 May 2015 18:44:32 +0000 Subject: Vendor import of llvm trunk r238337: https://llvm.org/svn/llvm-project/llvm/trunk@238337 --- test/CodeGen/NVPTX/function-align.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/NVPTX/function-align.ll (limited to 'test/CodeGen/NVPTX/function-align.ll') diff --git a/test/CodeGen/NVPTX/function-align.ll b/test/CodeGen/NVPTX/function-align.ll new file mode 100644 index 000000000000..e7abfb128f58 --- /dev/null +++ b/test/CodeGen/NVPTX/function-align.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s + +; CHECK-NOT: .align 2 +define ptx_device void @foo() align 2 { +; CHECK-LABEL: .func foo + ret void +} -- cgit v1.3