[PATCH] IR: Fold away compares between GV GEPs and GVs

David Majnemer david.majnemer at gmail.com
Fri Jul 4 00:47:34 PDT 2014


Ping.

On Fri, Jun 20, 2014 at 5:32 PM, David Majnemer
<david.majnemer at gmail.com> wrote:
> Hi nlewycky,
>
> 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.
>
> http://reviews.llvm.org/D4238
>
> Files:
>   lib/IR/ConstantFold.cpp
>   test/Other/constant-fold-gep.ll
>   test/Transforms/InstCombine/2010-03-03-ExtElim.ll
>   test/Transforms/InstCombine/pr20079.ll
>   test/Transforms/LoopVectorize/if-conversion.ll



More information about the llvm-commits mailing list