Sign in
cobalt
/
cobalt
/
refs/heads/20.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
CodeGen
/
NVPTX
/
alias.ll
blob: a278519276962ba735dea78027a908d15064bf61 [
file
] [
log
] [
blame
] [
edit
]
; 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