When writing kernel, save the branches til the end. They are still put in the "right...
authorTanya Lattner <tonic@nondot.org>
Fri, 3 Dec 2004 05:25:22 +0000 (05:25 +0000)
committerTanya Lattner <tonic@nondot.org>
Fri, 3 Dec 2004 05:25:22 +0000 (05:25 +0000)
commitf3fa55f9795c82feef7049f176c0267096f0ffc9
tree4fe959cb216a2b8c8b7bf85732afd6c44fd6a35f
parent223d4c4b3a040e57bab65185f77e3212fae2b922
When writing kernel, save the branches til the end. They are still put in the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special.

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