commit | c277ab08a24d2dbe9b4ff1a9154ea6115ed6a4e3 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <reid@kleckner.net> | Wed Sep 30 20:15:38 2009 +0000 |
committer | Reid Kleckner <reid@kleckner.net> | Wed Sep 30 20:15:38 2009 +0000 |
tree | 961f33a75eced084518a387d00095b6a98782d25 | |
parent | 69cc57c3259249cd9e64735ba79da2ce0e64a4b5 [diff] |
Fix integer overflow in instruction scheduling. This can happen if we have basic blocks that are so long that their size overflows a short. Also assert that overflow does not happen in the future, as requested by Evan. This fixes PR4401. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83159 91177308-0d34-0410-b5e6-96231b3b80d8