[llvm-commits] [PATCH/RFC] Loop Data Software Prefetching

Andrew Trick atrick at apple.com
Thu Jan 31 22:45:51 PST 2013


On Jan 29, 2013, at 12:39 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> 2. Applying this patch causes three regression test failures:
>    LLVM :: CodeGen/X86/lsr-negative-stride.ll
>    LLVM :: Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
>    LLVM :: Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll
> 
> these failures are triggered just by the fact that the pass is scheduled prior to LSR running, even though it does not change anything. Does anyone know how this might happen?

I'm not sure, but I'm curious. Can you print the IR input to LSR in each case and also debug-pass=Executions? Prefetching must have either invalidated an analysis or changed the loop pass manager.

Meanwhile, I'm fixing these tests to use opt -loop-reduce directly so it doesn't happen again.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130131/1d592763/attachment.html>


More information about the llvm-commits mailing list