diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-15 22:03:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-15 22:03:36 +0000 |
commit | 4e1323969c4afa60cd6675cbbaade90afe7e6632 (patch) | |
tree | 539ee1b42d923a27495c860e75154da5e61e0d7f /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 74d0aa9a4b1f5e021d2ce851a7af344e9b4ebb23 (diff) |
make "trivial" unswitching significantly more general. It can now handle
this for example:
for (j = 0; j < N; ++j) { // trivial unswitch
if (C)
P[i+j] = 0;
}
turning it into the obvious code without bothering to duplicate an empty loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions