1 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-win64 | FileCheck %s
5 ; CodeGenPrepare should move the zext into the block with the load
6 ; so that SelectionDAG can select it with the load.
8 ; CHECK: movzbl ({{%rdi|%rcx}}), %eax
10 define void @foo(i8* %p, i32* %q) {
13 %a = icmp slt i8 %t, 20
14 br i1 %a, label %true, label %false
16 %s = zext i8 %t to i32