Michael Liao | 03f9ad0 | 2013-03-26 22:47:01 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 -mattr=+rtm | FileCheck %s |
2 | |||||
3 | declare i32 @llvm.x86.xtest() nounwind | ||||
4 | |||||
5 | define i32 @test_xtest() nounwind uwtable { | ||||
6 | entry: | ||||
7 | %0 = tail call i32 @llvm.x86.xtest() nounwind | ||||
8 | ret i32 %0 | ||||
9 | ; CHECK: test_xtest | ||||
10 | ; CHECK: xtest | ||||
11 | } |