1
; RUN: llc < %s -march=x86-64 | FileCheck %s
4
; CodeGenPrepare should move the zext into the block with the load
5
; so that SelectionDAG can select it with the load.
7
; CHECK: movzbl (%rdi), %eax
9
define void @foo(i8* %p, i32* %q) {
12
%a = icmp slt i8 %t, 20
13
br i1 %a, label %true, label %false
15
%s = zext i8 %t to i32