diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-24 23:14:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-24 23:14:07 +0000 |
commit | be677588a32f32efc6ad18b80961fbf8d6c47de3 (patch) | |
tree | a0f8b68cec3d9c0045bdfa12e247c92be1505047 /test/Analysis/BasicAA | |
parent | f0a93ed9c59d706494496c6fe4e8354864d24aa7 (diff) | |
download | external_llvm-be677588a32f32efc6ad18b80961fbf8d6c47de3.zip external_llvm-be677588a32f32efc6ad18b80961fbf8d6c47de3.tar.gz external_llvm-be677588a32f32efc6ad18b80961fbf8d6c47de3.tar.bz2 |
Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/BasicAA')
-rw-r--r-- | test/Analysis/BasicAA/licmtest.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/BasicAA/licmtest.ll b/test/Analysis/BasicAA/licmtest.ll index f54a130..1e4255d 100644 --- a/test/Analysis/BasicAA/licmtest.ll +++ b/test/Analysis/BasicAA/licmtest.ll @@ -4,7 +4,7 @@ ; not be able to eliminate the load itself, without licm's help. This is ; because, for GCSE, the load is killed by the dummy basic block. -; RUN: if as < %s | opt -basicaa -licm -gcse -simplifycfg -instcombine | dis | grep ToRemove +; RUN: if as < %s | opt -basicaa -licm -load-vn -gcse -instcombine | dis | grep ToRemove ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi @@ -14,10 +14,10 @@ implementation int %test(bool %c) { - %ToRemove = load int* %A - br label %Loop -Loop: %Atmp = load int* %A + br bool %c, label %Dummy, label %Loop +Loop: + %ToRemove = load int* %A store int %Atmp, int* %B ; Store cannot alias %A br bool %c, label %Out, label %Loop |