llvm.org GIT mirror llvm / 2bbbbd6
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 Chris Lattner 9 years ago
3 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
16491649
16501650 // If this is a strong or ODR definition of this function, then we can
16511651 // propagate information about its result into callsites of it.
1652 if (!F->mayBeOverridden())
1652 if (!F->mayBeOverridden() &&
1653 !isa(F->getReturnType()))
16531654 Solver.AddTrackedFunction(F);
16541655
16551656 // If this function only has direct calls that we can see, we can track its
22 ; RUN: grep {%mrv = insertvalue %T undef, i32 18, 0} %t
33 ; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
44 ; RUN: grep {ret %T %mrv1} %t
5
6 ; XFAIL: *
57
68 %T = type {i32,i32}
79
0 ; RUN: opt < %s -ipsccp -S | FileCheck %s
1 ; XFAIL: *
12
23 ;;======================== test1
34