xref: /llvm-project/llvm/test/CodeGen/X86/pr19752.ll (revision 26d974dc3a2c9d1e92246d2168eb6589ce52a7de)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s | FileCheck %s
3
4target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
5target triple = "i386---elf"
6
7define void @test() {
8; CHECK-LABEL: test:
9; CHECK:       # %bb.0:
10; CHECK-NEXT:    #APP
11; CHECK-NEXT:    movl %fs:0, %eax
12; CHECK-NEXT:    #NO_APP
13  %tmp = tail call i64 asm "movl %fs:${1:a}, ${0:k}", "=q,irm,~{dirflag},~{fpsr},~{flags}"(i64 0)
14  unreachable
15}
16