Jakob Stoklund Olesen d62c9a697b Don't setCalleeSavedInfoValid() until spills are interted.
In a naked function, the flag is never set and getPristineRegs() returns an
empty list. That means naked functions are able to clobber callee saved
registers, but that is the whole point of naked functions.

This fixes PR4716.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79096 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-15 13:10:46 +00:00
..
2009-08-08 22:56:37 +00:00
2009-08-12 01:14:30 +00:00
2009-08-12 01:47:51 +00:00
2009-08-11 18:01:24 +00:00