[PATCH] Fix miscompile due to StackColoring incorrectly merging stack slots
Shuxin Yang
shuxin.llvm at gmail.com
Wed May 15 11:34:23 PDT 2013
On 5/15/13 11:23 AM, Mark Seaborn wrote:
> Fix miscompile due to StackColoring incorrectly merging stack slots
>
> IR optimisation passes can result in a basic block that contains:
>
> llvm.lifetime.start(%buf)
> ...
> llvm.lifetime.end(%buf)
> ...
> llvm.lifetime.start(%buf)
>
Just curious, why "buf" was dead, and is resurrected later on?
More information about the llvm-commits
mailing list