Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+xsave,+xsaveopt | FileCheck %s
      2 
      3 define void @test_xsaveopt(i8* %ptr, i32 %hi, i32 %lo) {
      4 ; CHECK-LABEL: test_xsaveopt
      5 ; CHECK: movl     8(%esp), %edx
      6 ; CHECK: movl     12(%esp), %eax
      7 ; CHECK: movl     4(%esp), %ecx
      8 ; CHECK: xsaveopt (%ecx)
      9   call void @llvm.x86.xsaveopt(i8* %ptr, i32 %hi, i32 %lo)
     10   ret void;
     11 }
     12 declare void @llvm.x86.xsaveopt(i8*, i32, i32)
     13