summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-08 06:34:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-08 06:34:09 +0000
commit2fa281106ac65e72e2f95c5cd5d03561da67894f (patch)
tree3d89499ba8076ba85235873251bac722f8611ace /llvm/lib/Transforms
parent2f6bddd2b1b2a618271605dfa59df6290214f1a5 (diff)
downloadbcm5719-llvm-2fa281106ac65e72e2f95c5cd5d03561da67894f.tar.gz
bcm5719-llvm-2fa281106ac65e72e2f95c5cd5d03561da67894f.zip
Optimize code placement in loop to eliminate unconditional branches or move unconditional branch to the outside of the loop. e.g.
/// A: /// ... /// <fallthrough to B> /// /// B: --> loop header /// ... /// jcc <cond> C, [exit] /// /// C: /// ... /// jmp B /// /// ==> /// /// A: /// ... /// jmp B /// /// C: --> new loop header /// ... /// <fallthough to B> /// /// B: /// ... /// jcc <cond> C, [exit] llvm-svn: 71209
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud