diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-05-09 01:28:30 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-05-09 01:28:30 +0000 | 
| commit | c5a41d8af18d61cdc31a83538d2eddece154a9e1 (patch) | |
| tree | b462ef4ee7028e7d9514aa889fb8a689e004e8cb | |
| parent | e693f33937b12565300925079eb8e4c2b953bad9 (diff) | |
| download | bcm5719-llvm-c5a41d8af18d61cdc31a83538d2eddece154a9e1.tar.gz bcm5719-llvm-c5a41d8af18d61cdc31a83538d2eddece154a9e1.zip  | |
Fix broken testcase
llvm-svn: 2565
| -rw-r--r-- | llvm/test/Regression/Transforms/InstCombine/sub.ll | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/sub.ll b/llvm/test/Regression/Transforms/InstCombine/sub.ll index bbdf0b3787c..c2a6124536d 100644 --- a/llvm/test/Regression/Transforms/InstCombine/sub.ll +++ b/llvm/test/Regression/Transforms/InstCombine/sub.ll @@ -1,7 +1,7 @@  ; This test makes sure that these instructions are properly eliminated.  ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep sub +; RUN: if as < %s | opt -instcombine -dce | dis | grep sub | grep -v 'sub int %Cok, %Bok'  ; RUN: then exit 1  ; RUN: else exit 0  ; RUN: fi @@ -30,8 +30,8 @@ int "test4"(int %A, int %x) {  	ret int %C  } -int "test5"(int %A, int %B, int %C) { -	%D = sub int %B, %C +int "test5"(int %A, int %Bok, int %Cok) { +	%D = sub int %Bok, %Cok  	%E = sub int %A, %D  	ret int %E  }  | 

