xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/xtest.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86-64 -mattr=+rtm | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdeclare i32 @llvm.x86.xtest() nounwind
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine i32 @test_xtest() nounwind uwtable {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker  %0 = tail call i32 @llvm.x86.xtest() nounwind
8*9880d681SAndroid Build Coastguard Worker  ret i32 %0
9*9880d681SAndroid Build Coastguard Worker; CHECK: test_xtest
10*9880d681SAndroid Build Coastguard Worker; CHECK: xtest
11*9880d681SAndroid Build Coastguard Worker}
12