1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/X86/pr21529.ll
Rafael Espindola 46b9989837 Simplify testcase. NFC.
Thanks to Filipe Cabecinhas for the tip.

llvm-svn: 221705
2014-11-11 20:49:16 +00:00

16 lines
406 B
LLVM

; RUN: llc -show-mc-encoding < %s | FileCheck %s
; Test that the direct object emission selects the and variant with 8 bit
; immediate.
; We used to get this wrong when using direct object emission, but not when
; reading assembly.
; CHECK: andq $-32, %rsp # encoding: [0x48,0x83,0xe4,0xe0]
target triple = "x86_64-pc-linux"
define void @f() {
%foo = alloca i8, align 32
ret void
}