; This test makes sure that and instructions are properly eliminated.
; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
-; RUN: llvm-as < %s | opt -instcombine -disable-output &&
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'and '
+; RUN: opt < %s -instcombine -S | not grep "and "
+; END.
-implementation
define i999 @test0(i999 %A) {
%B = and i999 %A, 0 ; zero result