diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-07-04 22:05:26 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-07-04 22:05:26 +0000 |
| commit | d1bea693e20b470f0c2410b68bd867c7203f8b19 (patch) | |
| tree | c0d2134190dd82029f5513a16ae4fec4c142eae0 /llvm/test/Transforms/LoopVectorize | |
| parent | 96bfda8dbcdd426edea402bb4b539bba5392322b (diff) | |
| download | bcm5719-llvm-d1bea693e20b470f0c2410b68bd867c7203f8b19.tar.gz bcm5719-llvm-d1bea693e20b470f0c2410b68bd867c7203f8b19.zip | |
IR: Fold away compares between GV GEPs and GVs
A GEP of a non-weak global variable will not be equivalent to another
non-weak global variable or a GEP of such a variable.
Differential Revision: http://reviews.llvm.org/D4238
llvm-svn: 212360
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/if-conversion.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/if-conversion.ll b/llvm/test/Transforms/LoopVectorize/if-conversion.ll index dbe0243a811..6e3e8ed2785 100644 --- a/llvm/test/Transforms/LoopVectorize/if-conversion.ll +++ b/llvm/test/Transforms/LoopVectorize/if-conversion.ll @@ -156,7 +156,7 @@ for.body: br i1 icmp eq (i32** getelementptr inbounds ([1 x i32*]* @a, i64 0, i64 0), i32** @c), label %cond.false, label %cond.end cond.false: - %cond.1 = or i32 %inc3, sdiv (i32 1, i32 zext (i1 icmp eq (i32** getelementptr inbounds ([1 x i32*]* @a, i64 0, i64 0), i32** @c) to i32)) + %cond.1 = or i32 %inc3, sdiv (i32 1, i32 zext (i1 icmp eq (i32** getelementptr inbounds ([1 x i32*]* @a, i64 0, i64 1), i32** @c) to i32)) br label %cond.end cond.end: |

