1 ; RUN: llvm-as < %s | llc -march=x86 | grep mov | count 1
3 ; Do zextload, instead of a load and a separate zext.
5 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
6 target triple = "i386-apple-darwin9.6"
7 %struct.move_s = type { i32, i32, i32, i32, i32, i32 }
8 %struct.node_t = type { i8, i8, i8, i8, i32, i32, %struct.node_t**, %struct.node_t*, %struct.move_s }
10 define fastcc void @set_proof_and_disproof_numbers(%struct.node_t* nocapture %node) nounwind {
12 %0 = load i8* null, align 1 ; <i8> [#uses=1]
13 switch i8 %0, label %return [
20 bb31: ; preds = %entry
23 bb80: ; preds = %entry
26 bb82: ; preds = %entry
29 bb84: ; preds = %entry
32 return: ; preds = %entry