xref: /llvm-project/llvm/test/CodeGen/X86/xtest.ll (revision 6b898beb8e6bf5739d43c1d64646264afc595de8)
1; RUN: llc < %s -mtriple=x86_64-- -mattr=+rtm | FileCheck %s
2
3declare i32 @llvm.x86.xtest() nounwind
4
5define i32 @test_xtest() nounwind uwtable {
6entry:
7  %0 = tail call i32 @llvm.x86.xtest() nounwind
8  ret i32 %0
9; CHECK: test_xtest
10; CHECK: xtest
11}
12