2 tests that were lost in rL301390

llvm-svn: 301529
This commit is contained in:
Andrew V. Tischenko 2017-04-27 10:20:35 +00:00
parent 79d271b40b
commit 9108ae2b50
2 changed files with 24 additions and 0 deletions

View File

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

View File

@ -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