mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +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
|
||||
// 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
|
||||
|
@ -4,6 +4,8 @@
|
||||
; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
|
||||
; RUN: grep {ret %T %mrv1} %t
|
||||
|
||||
; XFAIL: *
|
||||
|
||||
%T = type {i32,i32}
|
||||
|
||||
define internal {i32, i32} @bar(i32 %A) {
|
||||
|
@ -1,4 +1,5 @@
|
||||
; RUN: opt < %s -ipsccp -S | FileCheck %s
|
||||
; XFAIL: *
|
||||
|
||||
;;======================== test1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user