1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/Transforms/LoopReroll
Zinovy Nis 490efbdf4e [PATCH] Force LoopReroll to reset the loop trip count value after reroll.
It's a bug fix. 
For rerolled loops SE trip count remains unchanged. It leads to incorrect work of the next passes.
My patch just resets SE info for rerolled loop forcing SE to re-evaluate it next time it requested.
I also added a verifier call in the exisitng test to be sure no invalid SE data remain. Without my fix this test would fail with -verify-scev.

Differential Revision: http://reviews.llvm.org/D18316

llvm-svn: 264051
2016-03-22 13:50:57 +00:00
..
basic32iters.ll [PATCH] Force LoopReroll to reset the loop trip count value after reroll. 2016-03-22 13:50:57 +00:00
basic.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
negative.ll Handle loop with negtive induction variable increment 2015-07-24 22:01:49 +00:00
nonconst_lb.ll [LPM] Factor all of the loop analysis usage updates into a common helper 2016-02-19 10:45:18 +00:00
ptrindvar.ll Enable loopreroll to rerool loop with pointer induction variable. 2016-01-25 19:43:45 +00:00
reduction.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
reroll_with_dbg.ll DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00