llvm-6502/test/CodeGen/X86/xtest.ll
Michael Liao f8fd883fd3 Add XTEST codegen support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178083 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-26 22:47:01 +00:00

12 lines
247 B
LLVM

; 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
}