diff options
author | Andrew V. Tischenko <andrew.v.tischenko@gmail.com> | 2017-04-27 10:20:35 +0000 |
---|---|---|
committer | Andrew V. Tischenko <andrew.v.tischenko@gmail.com> | 2017-04-27 10:20:35 +0000 |
commit | 9108ae2b5071c51b8302b41086a82ba6ee44aa8c (patch) | |
tree | 418705b9e35e59b16ac3c8be369e41b3b40e903c | |
parent | 79d271b40b49e5367e7ee96afbc29272d3e75c67 (diff) | |
download | bcm5719-llvm-9108ae2b5071c51b8302b41086a82ba6ee44aa8c.tar.gz bcm5719-llvm-9108ae2b5071c51b8302b41086a82ba6ee44aa8c.zip |
2 tests that were lost in rL301390
llvm-svn: 301529
-rw-r--r-- | llvm/test/CodeGen/X86/inline-0bh.ll | 17 | ||||
-rw-r--r-- | llvm/test/MC/X86/pr27884.s | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/inline-0bh.ll b/llvm/test/CodeGen/X86/inline-0bh.ll new file mode 100644 index 00000000000..ceef395aa14 --- /dev/null +++ b/llvm/test/CodeGen/X86/inline-0bh.ll @@ -0,0 +1,17 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s + +; Function Attrs: noinline nounwind +define i32 @PR31007() { +; CHECK-LABEL: PR31007: +; CHECK: # BB#0: # %entry +; CHECK-NEXT: #APP +; CHECK : addb $11, %al +; CHECK: #NO_APP +; CHECK-NEXT: xorl %eax, %eax +; CHECK-NEXT: retq +entry: + call void asm sideeffect inteldialect "add al,$$0bH", "~{al},~{flags},~{dirflag},~{fpsr},~{flags}"() + ret i32 0 +} + diff --git a/llvm/test/MC/X86/pr27884.s b/llvm/test/MC/X86/pr27884.s new file mode 100644 index 00000000000..edd4e8d34a9 --- /dev/null +++ b/llvm/test/MC/X86/pr27884.s @@ -0,0 +1,7 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown %s + +.intel_syntax +add rbx, 0B0h +add rbx, 0b0h +add rax, 0A0h +add rax, 0a0h |