[llvm-dev] bug report on mem2reg

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Mon May 11 20:45:57 PDT 2020


Tried testing it with things like Undefined Behaivor Sanitizer (or other
sanitizers - memory/address) or valgrind?

Often "program works sometimes and doesn't work other times" is because the
program has undefined behavior in it & the times its working are just luck.

On Mon, May 11, 2020 at 8:41 PM liubaosen at tsinghua.edu.cn via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi, all,
>
> I think I found a bug on mem2reg in a particular case.
> When I ran opt -mem2reg -basicaa -scalar-evolution -loops -da -analyze
> opts.ll, it collapsed. While without mem2reg option, it runs well. so I
> guess it has something to do with mem2reg.
> The relative files have been affixed, please check them for me.
> Thanks in advance.
>
> ------------------------------
> liubaosen at tsinghua.edu.cn
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200511/8a1d1769/attachment.html>


More information about the llvm-dev mailing list