summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/NVPTX/function-align.ll
blob: 09cac02ee34173df88e1f90464388571d273adc8 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}

; CHECK-NOT: .align 2
define ptx_device void @foo() align 2 {
; CHECK-LABEL: .func foo
  ret void
}