[LLVMdev] PR4174

Eli Friedman eli.friedman at gmail.com
Fri Aug 21 14:31:52 PDT 2009


On Fri, Aug 21, 2009 at 2:06 PM, Jakub Staszak<kuba at gcc.gnu.org> wrote:
> Hello,
>
> This patch fixes PR4174. Two test-cases included: original one from bugzilla
> and a little bit complicated made be myself.

I think you want isSafeToSpeculativelyExecute rather than
mayHaveSideEffects.  Otherwise, looks fine.

> It seems that LoopIndexSplit doesn't handle some cases, I'll try to send
> some patch this week.

You mean like PR3913?  Or are you referring to something else?

-Eli



More information about the llvm-dev mailing list