mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
remove some code that was working around old sparc v9 backend bugs.
Add checking that the input/output operand list in spelled right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1145,7 +1145,8 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) {
|
||||
CodeGenInstruction &InstInfo =
|
||||
CDP.getTargetInfo().getInstruction(getOperator()->getName());
|
||||
// Apply the result type to the node
|
||||
if (NumResults == 0 || InstInfo.NumDefs == 0) {
|
||||
if (NumResults == 0 ||
|
||||
InstInfo.NumDefs == 0) {
|
||||
MadeChange = UpdateNodeType(MVT::isVoid, TP);
|
||||
} else {
|
||||
Record *ResultNode = Inst.getResult(0);
|
||||
|
Reference in New Issue
Block a user