aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/xtest.ll
blob: e85565edcd551fdfe15fe6592509e670db0d2ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -march=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
}