Teach ComputeNumSignBits about signed divisions.
[oota-llvm.git] / test / Transforms / InstCombine / simplify-demanded-bits-pointer.ll
index ac63534514f49cdd5a02edd2755ac45e177e74d9..db8f17917d1e16b8f1289d8f992b30f5903d831a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt < %s -instcombine -disable-output
 
 ; SimplifyDemandedBits should cope with pointer types.
 
@@ -29,7 +29,7 @@ bb95:         ; preds = %bb88
        unreachable
 
 bb107:         ; preds = %bb88
-       %0 = load i16* undef, align 8           ; <i16> [#uses=1]
+       %0 = load i16, i16* undef, align 8              ; <i16> [#uses=1]
        %1 = icmp eq i16 %0, 38         ; <i1> [#uses=1]
        %src_eqv_here.0 = select i1 %1, %struct.rtx_def* null, %struct.rtx_def* null            ; <%struct.rtx_def*> [#uses=1]
        br i1 undef, label %bb127, label %bb125