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