1 ; RUN: llc -show-mc-encoding < %s | FileCheck %s
3 ; Test that the direct object emission selects the and variant with 8 bit
5 ; We used to get this wrong when using direct object emission, but not when
9 target triple = "x86_64-pc-linux"
13 ; CHECK: andq $-32, %rsp # encoding: [0x48,0x83,0xe4,0xe0]
14 %foo = alloca i8, align 32
18 define void @f2(i1 *%x, i16 *%y) {
20 ; CHECK: andl $1, %eax # encoding: [0x83,0xe0,0x01]
22 %b = zext i1 %a to i16
27 define i32 @f3(i1 *%x) {
29 ; CHECK: andl $1, %eax # encoding: [0x83,0xe0,0x01]
31 %b = zext i1 %a to i32
35 define i64 @f4(i1 *%x) {
37 ; CHECK: andl $1, %eax # encoding: [0x83,0xe0,0x01]
39 %b = zext i1 %a to i64