mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Replace some special-case code which probably was buggy with an assertion
verifying that the special case does not occur. llvm-svn: 92504
This commit is contained in:
parent
f47c2a2335
commit
a89531ec4f
@ -1241,12 +1241,7 @@ public:
|
||||
;
|
||||
} else if (InputHasChain && !NodeHasChain) {
|
||||
// One of the inner node produces a chain.
|
||||
if (NodeHasOutFlag) {
|
||||
ReplaceFroms.push_back("SDValue(N.getNode(), " +
|
||||
utostr(NumPatResults+1) +
|
||||
")");
|
||||
ReplaceTos.push_back("SDValue(ResNode, N.getResNo()-1)");
|
||||
}
|
||||
assert(!NodeHasOutFlag && "Node has flag but not chain!");
|
||||
ReplaceFroms.push_back("SDValue(N.getNode(), " +
|
||||
utostr(NumPatResults) + ")");
|
||||
ReplaceTos.push_back(ChainName);
|
||||
|
Loading…
Reference in New Issue
Block a user