OSDN Git Service

Workaround PPC backend bug in test for r346322.
authorJames Y Knight <jyknight@google.com>
Wed, 7 Nov 2018 17:01:47 +0000 (17:01 +0000)
committerJames Y Knight <jyknight@google.com>
Wed, 7 Nov 2018 17:01:47 +0000 (17:01 +0000)
commitbf862d6543990dcbf284d74c04d6f7200021923b
tree68f3fbb6b9f058bf725e7284911b9fe26f4e02fd
parent7fe3470de009c438bb6f9aa4fb63b43ade978ba9
Workaround PPC backend bug in test for r346322.

It seems that the PPC backend croaks when lowering a call to a
function with an argument of type [2 x i32].

Just modify the type slightly to avoid this -- I wasn't actually
intending to stress test the backend...

llvm/lib/Target/PowerPC/PPCISelLowering.cpp:6172: llvm::SDValue llvm::PPCTargetLowering::LowerCall_64SVR4(...): Assertion `(!HasParameterArea || NumBytesActuallyUsed == ArgOffset) && "mismatch in size of parameter area"' failed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346334 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/Generic/is-constant.ll