diff options
author | Michael Liao <michael.liao@intel.com> | 2013-03-26 22:47:01 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-03-26 22:47:01 +0000 |
commit | 03f9ad0e6763482e1abe6c2c03a2d58a6353489e (patch) | |
tree | 49ce51d8b554aa4bbb32b3aac4c2e19ebd61f053 /llvm/test/CodeGen/X86/xtest.ll | |
parent | e344ec919f96df68e6f0d51c11ce7160eb7651b3 (diff) | |
download | bcm5719-llvm-03f9ad0e6763482e1abe6c2c03a2d58a6353489e.tar.gz bcm5719-llvm-03f9ad0e6763482e1abe6c2c03a2d58a6353489e.zip |
Add XTEST codegen support
llvm-svn: 178083
Diffstat (limited to 'llvm/test/CodeGen/X86/xtest.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/xtest.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/xtest.ll b/llvm/test/CodeGen/X86/xtest.ll new file mode 100644 index 00000000000..e85565edcd5 --- /dev/null +++ b/llvm/test/CodeGen/X86/xtest.ll @@ -0,0 +1,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 +} |