diff options
| author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
| commit | a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1 (patch) | |
| tree | f0113c0d6322f1a5e9b495352342e8eedd08e04d /llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll | |
| parent | a00c808d4050cece0dd328d614aa6d01b9824f8f (diff) | |
| download | bcm5719-llvm-a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1.tar.gz bcm5719-llvm-a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1.zip | |
Remove llvm-upgrade and update tests.
llvm-svn: 47325
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll b/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll index fbbf6a59e8f..f8c5f11180c 100644 --- a/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll +++ b/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll @@ -1,10 +1,13 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep xori - -int %test(bool %B, int* %P) { - br bool %B, label %T, label %F -T: - store int 123, int* %P - ret int 0 -F: -ret int 17 +; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori + +define i32 @test(i1 %B, i32* %P) { + br i1 %B, label %T, label %F + +T: ; preds = %0 + store i32 123, i32* %P + ret i32 0 + +F: ; preds = %0 + ret i32 17 } + |

