summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-12-05 17:23:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-12-05 17:23:48 +0000
commitfd8c4d597577f90fc860f3871c70bd839e0b54b5 (patch)
tree44a24570af440cf927b7b2663c62c6fd05890f34 /clang/lib/Sema/SemaDecl.cpp
parentc100828026b475efea2c92e8a41b3727027290c0 (diff)
downloadbcm5719-llvm-fd8c4d597577f90fc860f3871c70bd839e0b54b5.tar.gz
bcm5719-llvm-fd8c4d597577f90fc860f3871c70bd839e0b54b5.zip
Effectively undo 60461 in PIC mode which simply transform V_SET0 / V_SETALLONES into a load from constpool in order to fold into restores. This is not safe to do when PIC base is being used for a number of reasons:
1. GlobalBaseReg may have been spilled. 2. It may not be live at the use. 3. Spiller doesn't know this is happening so it won't prevent GlobalBaseReg from being spilled later (That by itself is a nasty hack. It's needed because we don't insert the reload until later). llvm-svn: 60595
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud