2014-12-24 18:27:50 +08:00
|
|
|
; RUN: llc < %s | 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 "pselect = __pselect"
|
2014-12-25 06:44:29 +08:00
|
|
|
module asm "var = __var"
|
|
|
|
module asm "alias = __alias"
|
2018-03-28 00:44:41 +08:00
|
|
|
; CHECK: .set pselect, __pselect
|
|
|
|
; CHECK: .set var, __var
|
|
|
|
; CHECK: .set alias, __alias
|
2014-12-24 18:27:50 +08:00
|
|
|
|
|
|
|
; CHECK: pselect:
|
|
|
|
; CHECK: retq
|
|
|
|
define void @pselect() {
|
|
|
|
ret void
|
|
|
|
}
|
2014-12-25 06:44:29 +08:00
|
|
|
|
|
|
|
; CHECK: var:
|
|
|
|
; CHECK: .long 0
|
|
|
|
@var = global i32 0
|
|
|
|
|
2018-03-28 00:44:41 +08:00
|
|
|
; CHECK: .set alias, var
|
2015-09-11 11:22:04 +08:00
|
|
|
@alias = alias i32, i32* @var
|