[llvm] r301529 - 2 tests that were lost in rL301390

Andrew V. Tischenko via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 03:20:36 PDT 2017


Author: avt77
Date: Thu Apr 27 05:20:35 2017
New Revision: 301529

URL: http://llvm.org/viewvc/llvm-project?rev=301529&view=rev
Log:
2 tests that were lost in rL301390

Added:
    llvm/trunk/test/CodeGen/X86/inline-0bh.ll
    llvm/trunk/test/MC/X86/pr27884.s

Added: llvm/trunk/test/CodeGen/X86/inline-0bh.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/inline-0bh.ll?rev=301529&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/inline-0bh.ll (added)
+++ llvm/trunk/test/CodeGen/X86/inline-0bh.ll Thu Apr 27 05:20:35 2017
@@ -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
+}
+

Added: llvm/trunk/test/MC/X86/pr27884.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/pr27884.s?rev=301529&view=auto
==============================================================================
--- llvm/trunk/test/MC/X86/pr27884.s (added)
+++ llvm/trunk/test/MC/X86/pr27884.s Thu Apr 27 05:20:35 2017
@@ -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




More information about the llvm-commits mailing list