18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -no-integrated-as | FileCheck %s3target 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 Start10; CHECK-NEXT: mov %gs:72, %eax11; CHECK-NEXT: ## InlineAsm End12; CHECK-NEXT: retl13 %tmp1 = tail call ptr asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 ) ; <ptr> [#uses=1]14 ret void15}16 17 18