diff options
author | Reid Kleckner <reid@kleckner.net> | 2009-09-30 20:15:38 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2009-09-30 20:15:38 +0000 |
commit | 8ff5c19ebdfebdcafc0b2e777d8b805ea89b8d86 (patch) | |
tree | 9706d5f840bdfa27ebf0ad96668626ae4be23f2e /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 24440102aacf30ff8f583898ae4902a4fdbcb76e (diff) | |
download | llvm-8ff5c19ebdfebdcafc0b2e777d8b805ea89b8d86.zip llvm-8ff5c19ebdfebdcafc0b2e777d8b805ea89b8d86.tar.gz llvm-8ff5c19ebdfebdcafc0b2e777d8b805ea89b8d86.tar.bz2 |
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.
llvm-svn: 83159
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions