mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
disable IPSCCP support for multiple return values, it is buggy, so just
disable it until I can fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1650,7 +1650,8 @@ bool IPSCCP::runOnModule(Module &M) {
|
||||
|
||||
// If this is a strong or ODR definition of this function, then we can
|
||||
// propagate information about its result into callsites of it.
|
||||
if (!F->mayBeOverridden())
|
||||
if (!F->mayBeOverridden() &&
|
||||
!isa<StructType>(F->getReturnType()))
|
||||
Solver.AddTrackedFunction(F);
|
||||
|
||||
// If this function only has direct calls that we can see, we can track its
|
||||
|
Reference in New Issue
Block a user