1; RUN: llc < %s -march=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