mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
a6677bea10
It's possible to have a prior definition of a symbol in module asm. Raise an error instead of crashing. llvm-svn: 224828
11 lines
262 B
LLVM
11 lines
262 B
LLVM
; RUN: not llc < %s 2>&1 | FileCheck %s
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
module asm ".equiv pselect, __pselect"
|
|
|
|
define void @pselect() {
|
|
ret void
|
|
}
|
|
; CHECK: 'pselect' is a protected alias
|