llvm-for-llvmta/test/CodeGen/X86/xtest.ll

12 lines
251 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc < %s -mtriple=x86_64-- -mattr=+rtm | FileCheck %s
declare i32 @llvm.x86.xtest() nounwind
define i32 @test_xtest() nounwind uwtable {
entry:
%0 = tail call i32 @llvm.x86.xtest() nounwind
ret i32 %0
; CHECK: test_xtest
; CHECK: xtest
}