llvm.org GIT mirror llvm / release_70 test / CodeGen / NVPTX / alias.ll
release_70

Tree @release_70 (Download .tar.gz)

alias.ll @release_70raw · history · blame

1
2
3
4
5
6
7
; RUN: not llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s

; Check that llc dies gracefully when given an alias.

define i32 @a() { ret i32 0 }
; CHECK: ERROR: Module has aliases
@b = internal alias i32 (), i32 ()* @a