Chris Lattner
|
356f5a13f5
|
Dereferencing end() is bad.
llvm-svn: 15402
|
2004-08-01 09:51:42 +00:00 |
Alkis Evlogimenos
|
62c979ba07
|
Make OptimizeBlock take a MachineFunction::iterator instead of a
MachineBasicBlock* as a parameter so that nxext() and prior() helper
functions can work naturally on it.
llvm-svn: 15376
|
2004-07-31 19:24:41 +00:00 |
Chris Lattner
|
0f1c2ed907
|
Next on a pointer increments the pointer, not an iterator
llvm-svn: 15375
|
2004-07-31 18:40:36 +00:00 |
Alkis Evlogimenos
|
2303d3f660
|
Use next() helper to make code more readable. Use
MachineFunction::iterator instead of MachineBasicBlock* to avoid
dereferencing end iterators.
llvm-svn: 15373
|
2004-07-31 15:14:29 +00:00 |
Alkis Evlogimenos
|
1e8d8fd81f
|
Use MachineFunction::iterator instead of a MachineBasicBlock* because
FallThrough maybe == to MF.end().
llvm-svn: 15372
|
2004-07-31 15:03:52 +00:00 |
Chris Lattner
|
25e48dd2e0
|
Implement a simple target-independent CFG cleanup pass
llvm-svn: 15368
|
2004-07-31 10:01:27 +00:00 |