diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-01-07 21:15:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-01-07 21:15:58 +0000 |
| commit | 44b30c9abbafad725968959a84a91483a1aae5a1 (patch) | |
| tree | 621b845a0f06174861d486ee1ab85596beb79c84 | |
| parent | 473825ccec5da6b1cf02b1066fd95b6d738a8e40 (diff) | |
| download | bcm5719-llvm-44b30c9abbafad725968959a84a91483a1aae5a1.tar.gz bcm5719-llvm-44b30c9abbafad725968959a84a91483a1aae5a1.zip | |
modernize and clean up this test.
llvm-svn: 19347
| -rw-r--r-- | llvm/test/Regression/CodeGen/Generic/fwdtwice.ll | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/fwdtwice.ll b/llvm/test/Regression/CodeGen/Generic/fwdtwice.ll index 5aa8b724c73..ecbe5fc3d8c 100644 --- a/llvm/test/Regression/CodeGen/Generic/fwdtwice.ll +++ b/llvm/test/Regression/CodeGen/Generic/fwdtwice.ll @@ -13,23 +13,16 @@ ;; This came from %bb1 of sumarrray.ll generated from sumarray.c. -;;;; ****************************************************** -implementation -;;;; ****************************************************** - -int "SumArray"(int %Num) -begin -bb0: ;[#uses=3] +int %SumArray(int %Num) { + %Num = alloca int br label %Top Top: - %Num = alloca int ; <int *> [#uses=2] store int %Num, int * %Num - %reg108 = load int * %Num ; <int> [#uses=2] - %cast1006 = cast int %reg108 to uint ; <uint> [#uses=1] - %cond1001 = setle uint %cast1006, 0 ; <bool> [#uses=1] + %reg108 = load int * %Num + %cast1006 = cast int %reg108 to uint + %cond1001 = setle uint %cast1006, 0 br bool %cond1001, label %bb6, label %Top bb6: ret int 42 -end - +} |

