Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -show-mc-encoding < %s | FileCheck %s
      2 
      3 ; Test that the direct object emission selects the and variant with 8 bit
      4 ; immediate.
      5 ; We used to get this wrong when using direct object emission, but not when
      6 ; reading assembly.
      7 
      8 ; CHECK: andq    $-32, %rsp              # encoding: [0x48,0x83,0xe4,0xe0]
      9 
     10 target triple = "x86_64-pc-linux"
     11 
     12 define void @f() {
     13   %foo = alloca i8, align 32
     14   ret void
     15 }
     16