mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 12:30:44 +00:00
e7e7a4409a
Summary: Previously, we would just output "foo = bar" in the assembly, and then ptxas would choke. Now we die before emitting any invalid code. Reviewers: echristo Subscribers: jholewinski, llvm-commits, jhen, tra Differential Revision: http://reviews.llvm.org/D16490 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258638 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
225 B
LLVM
8 lines
225 B
LLVM
; 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
|