xref: /llvm-project/llvm/test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -no-integrated-as | FileCheck %s
3target datalayout = "e-p:32:32"
4target triple = "i686-apple-darwin9"
5
6define void @test() {
7; CHECK-LABEL: test:
8; CHECK:       ## %bb.0:
9; CHECK-NEXT:    ## InlineAsm Start
10; CHECK-NEXT:    mov %gs:72, %eax
11; CHECK-NEXT:    ## InlineAsm End
12; CHECK-NEXT:    retl
13	%tmp1 = tail call ptr asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 )		; <ptr> [#uses=1]
14	ret void
15}
16
17
18