CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / switch-zextload.ll
index f3c701ff5f929018074bfda232d04905cf1666f2..2dd3f0e3ae72af64fbca8122873ccfab0973963b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep mov | count 1
+; RUN: llc < %s -march=x86 | grep mov | count 1
 
 ; Do zextload, instead of a load and a separate zext.
 
@@ -9,7 +9,7 @@ target triple = "i386-apple-darwin9.6"
 
 define fastcc void @set_proof_and_disproof_numbers(%struct.node_t* nocapture %node) nounwind {
 entry:
-       %0 = load i8* null, align 1             ; <i8> [#uses=1]
+       %0 = load i8, i8* null, align 1         ; <i8> [#uses=1]
        switch i8 %0, label %return [
                i8 2, label %bb31
                i8 0, label %bb80