1*f4a2713aSLionel Sambuc; RUN: llc < %s -march=x86-64 -mattr=+rtm | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucdeclare i32 @llvm.x86.xtest() nounwind 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambucdefine i32 @test_xtest() nounwind uwtable { 6*f4a2713aSLionel Sambucentry: 7*f4a2713aSLionel Sambuc %0 = tail call i32 @llvm.x86.xtest() nounwind 8*f4a2713aSLionel Sambuc ret i32 %0 9*f4a2713aSLionel Sambuc; CHECK: test_xtest 10*f4a2713aSLionel Sambuc; CHECK: xtest 11*f4a2713aSLionel Sambuc} 12