Make InlineSpiller bundle-aware.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 1 Mar 2012 01:43:25 +0000 (01:43 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 1 Mar 2012 01:43:25 +0000 (01:43 +0000)
commit66c994c2dbd1a76418fdd0acb138aa029538ffe5
treee55062e6f93cf35a758d49e316c92dcda5607933
parent5c2b4ea73c8f48bb5f96c86fe437385b8fb3dcda
Make InlineSpiller bundle-aware.

Simply treat bundles as instructions. Spill code is inserted between
bundles, never inside a bundle.  Rewrite all operands in a bundle at
once.

Don't attempt and memory operand folding inside bundles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151787 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/InlineSpiller.cpp