[LLVMdev] jump threading and the stack
sabre at nondot.org
Wed Jun 25 10:05:14 PDT 2008
On Wed, 25 Jun 2008, Chris Lattner wrote:
>> "llvm-ld -O" runs jump threading but doesn't run any mem2reg pass
>> afterwards, and I've seen several cases where variables end up left on
>> the stack in the output of the linker.
> Wow, this sounds like a serious bug. jump threading definitely needs
> mem2reg to be run after it.
This should be fixed now, I also filed PR2495 about a potential
compile-time speedup here.
More information about the llvm-dev