; This testcase is incorrectly getting completely eliminated. There should be
; SOME instruction named %c here, even if it's a bitwise and.
;
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c'
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep '%c'
;
ulong %test3(ulong %A) {
%c1 = cast ulong %A to ubyte
; This test makes sure that add instructions are properly eliminated.
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep -v OK | not grep add
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v OK | not grep add
implementation
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep call | not grep cast
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast
implementation
; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c' | not grep cast
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep '%c' | not grep cast
%inbuf = external global [32832 x ubyte]
; The %A getelementptr instruction should be eliminated here
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr | not grep '%A '
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep getelementptr | not grep '%A '
%Global = constant [10 x sbyte] c"helloworld"
; test that malloc's with a constant argument are promoted to array allocations
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep getelementptr
int* %test() {
%X = malloc int, uint 4
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep xor
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep xor
implementation
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep phi
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep phi
implementation
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep sub | not grep -v 'sub int %Cok, %Bok'
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub | not grep -v 'sub int %Cok, %Bok'
implementation