Displaying 1 result from an estimated 1 matches for "start_iteration".
2015 Jun 03
3
[LLVMdev] Replacing a repetitive sequence of code with a loop
On 3 June 2015 at 19:57, Benjamin Kramer <benny.kra at gmail.com> wrote:
> There's a loop reroll pass in LLVM trunk that should do exactly this transformation.
Though that's a loop pass (runOnLoop). What you could do is add a
previous pass that would recognize the pattern and create a loop of 1
iteration around the code and then run the reroll pass.
If your pattern recognition