Convert a few assertions with side-effects into regular old runtime checks.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 29 Jul 2004 21:31:20 +0000 (21:31 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 29 Jul 2004 21:31:20 +0000 (21:31 +0000)
commit365f54c7bc32c13e9c3919bbc37f32192b5cb354
tree33a12fda9ffe58a09c4327db00177647548ee98d
parent8f36321a952241b25e4cef9f2166a19b47bfc9a0
Convert a few assertions with side-effects into regular old runtime checks.
These side-effects seem to make a difference when using llc -march=sparcv9
in Release mode (i.e., with -DNDEBUG); when they are left out, lots of
instructions just get dropped on the floor, because they never end up
in the schedule.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15339 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InstrSched/InstrScheduling.cpp
lib/Target/SparcV9/InstrSched/InstrScheduling.cpp