Skip to content
Commit 014142fd authored by Dan Gohman's avatar Dan Gohman
Browse files

Fix the check for an empty basic block to check for an empty SUnits

array instead, since this is what the scheduler actually cares about.
And remove a check that is unnecessary, since it can assume that
SUnits isn't empty.

llvm-svn: 62362
parent 3289983d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment