mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
add another case from the ppc backend. This is obviously a huge and
dissatisfying hack. TODO: Improve it. :) llvm-svn: 97317
This commit is contained in:
parent
d35abb1c89
commit
c204d184a1
@ -271,7 +271,10 @@ bool CheckOpcodeMatcher::isContradictoryImpl(const Matcher *M) const {
|
||||
// This is a special common case we see a lot in the X86 backend, we know that
|
||||
// ISD::STORE nodes can't have non-void type.
|
||||
if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M))
|
||||
return getOpcodeName() == "ISD::STORE" && CT->getType() != MVT::isVoid;
|
||||
// FIXME: This sucks, get void nodes from type constraints.
|
||||
return (getOpcodeName() == "ISD::STORE" ||
|
||||
getOpcodeName() == "ISD::INTRINSIC_VOID") &&
|
||||
CT->getType() != MVT::isVoid;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user