This pass has been removed from LLVM

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-06 21:02:30 +00:00
parent 392b75cbc7
commit a9236a8d4b
2 changed files with 0 additions and 30 deletions

View File

@ -1,13 +0,0 @@
; RUN: llvm-as < %s | opt -pinodes -instcombine -die | llvm-dis | not grep add
int "test"(int %i, int %j) {
%c = seteq int %i, 0
br bool %c, label %iIsZero, label %iIsNotZero
iIsZero:
%j2 = add int %j, %i ; This is always equal to j
ret int %j2
iIsNotZero:
ret int 1
}

View File

@ -1,17 +0,0 @@
int "test"(int %i) {
%c = seteq int %i, 0
br bool %c, label %iIsZero, label %iIsNotZero
iIsZero:
ret int %i
iIsZero2:
ret int 0
iIsNotZero:
%d = setne int %i, 0
br bool %d, label %Quit, label %iIsZero2
Quit:
ret int 1
}