llvm.org GIT mirror llvm / release_37 test / CodeGen / X86 / system-intrinsics.ll
release_37

Tree @release_37 (Download .tar.gz)

system-intrinsics.ll @release_37raw · history · blame

; RUN: llc < %s -mtriple=i686-unknown-unknown   | FileCheck %s

define void @test_fxsave(i8* %ptr) {
; CHECK-LABEL: test_fxsave
; CHECK: fxsave
  call void @llvm.x86.fxsave(i8* %ptr)
  ret void;
}
declare void @llvm.x86.fxsave(i8*)

define void @test_fxrstor(i8* %ptr) {
; CHECK-LABEL: test_fxrstor
; CHECK: fxrstor
  call void @llvm.x86.fxrstor(i8* %ptr)
  ret void;
}
declare void @llvm.x86.fxrstor(i8*)