mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +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:
parent
2f54a2fd85
commit
2bbbbd6ac8
@ -1650,7 +1650,8 @@ bool IPSCCP::runOnModule(Module &M) {
|
|||||||
|
|
||||||
// If this is a strong or ODR definition of this function, then we can
|
// If this is a strong or ODR definition of this function, then we can
|
||||||
// propagate information about its result into callsites of it.
|
// propagate information about its result into callsites of it.
|
||||||
if (!F->mayBeOverridden())
|
if (!F->mayBeOverridden() &&
|
||||||
|
!isa<StructType>(F->getReturnType()))
|
||||||
Solver.AddTrackedFunction(F);
|
Solver.AddTrackedFunction(F);
|
||||||
|
|
||||||
// If this function only has direct calls that we can see, we can track its
|
// If this function only has direct calls that we can see, we can track its
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
|
; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
|
||||||
; RUN: grep {ret %T %mrv1} %t
|
; RUN: grep {ret %T %mrv1} %t
|
||||||
|
|
||||||
|
; XFAIL: *
|
||||||
|
|
||||||
%T = type {i32,i32}
|
%T = type {i32,i32}
|
||||||
|
|
||||||
define internal {i32, i32} @bar(i32 %A) {
|
define internal {i32, i32} @bar(i32 %A) {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
; RUN: opt < %s -ipsccp -S | FileCheck %s
|
; RUN: opt < %s -ipsccp -S | FileCheck %s
|
||||||
|
; XFAIL: *
|
||||||
|
|
||||||
;;======================== test1
|
;;======================== test1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user