[llvm-commits] [llvm] r124826 - in /llvm/trunk: lib/Transforms/Utils/SimplifyCFG.cpp test/Transforms/SimplifyCFG/switch-to-icmp.ll

Benjamin Kramer benny.kra at googlemail.com
Fri Feb 4 14:45:57 PST 2011


On 04.02.2011, at 00:48, Marius Wachtler wrote:

> Hello
> 
> Maybe add the attached code to stop generating the add if the offset is zero.
> 
> warning: haven't run make check! because currently I have no machine at hand...

Hi Marius,

I tried the patch and while it's obviously the right thing to do, llvm started to loop
indefinitely during selfhost. I haven't investigated why it does that yet but it's a bad
thing and is going to cause trouble eventually.

- Benjamin



More information about the llvm-commits mailing list