[llvm-commits] [llvm][commits] r162603

Silviu Baranga silbar01 at arm.com
Mon Nov 12 02:31:48 PST 2012


Hi Jakob,

Why is the LEApcrel marked as having side effects?
This is preventing it from being hoisted by the MachineLICM pass.

Thanks,
Silviu

> Explicitly mark LEApcrel pseudos with hasSideEffects.
> 
> It's not clear that they should be marked as such, but tbb formation
fails if t2LEApcrelJT is hoisted of of a loop.
> 
> This doesn't change the flags on these instructions,
> UnmodeledSideEffects was already inferred from the missing pattern.







More information about the llvm-commits mailing list