Displaying 1 result from an estimated 1 matches for "protectfromescapedallocas".
2012 Sep 17
0
[LLVMdev] [llvm-commits] [llvm] r163678 - in /llvm/trunk: lib/CodeGen/StackColoring.cpp test/CodeGen/X86/StackColoring.ll
...eedup".
>
> Instead you are penalizing correct IR (by not doing this optimization) and
> instead you're trying to sweep wrong IR under the carpet where no one will
> notice. That's a losing game in my opinion.
I am also CC-ing LLVM-dev.
Currently we have the flag "ProtectFromEscapedAllocas" which decides if we want to detect obvious violations of the lifetime zone and disable the coloring for that specific zone.
I agree with what you are saying and I intend to move forward with the plan we agreed upon, which is, (1) disable the flag and find out what breaks, (2) fix the broken...