[Thumb] Don't materialize a new base register when CPSR is live

Jonathan Roelofs jonathan at codesourcery.com
Tue Sep 16 07:06:39 PDT 2014



On 9/16/14 7:50 AM, Moritz Roth wrote:
> Hi Jon,
>
> Sorry for being a bit unclear in what I wrote before:
> By "undecidable", I meant that if the `computeRegisterLiveness` function can't
> determine CPSR liveness in the n-instruction window, it returns "Unknown", which
> I treat as if the CPSR was live. Increasing the window size allows us to get a
> conclusive result about CPSR liveness more often, thus allowing the optimization
> to happen (if CPSR is dead).
Ah, ok. Thanks for clearing that up for me :)


Jon
>
> Cheers
> Moritz
>
>
>


-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the llvm-commits mailing list