mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[SelectionDAG] Simplify SelectionDAGBuilder::visitInlineAsm
This commit is contained in:
parent
383070d58d
commit
7c12bf41e5
@ -8181,7 +8181,6 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
||||
AsmNodeOperands.push_back(DAG.getTargetConstant(OpFlags, getCurSDLoc(),
|
||||
MVT::i32));
|
||||
AsmNodeOperands.push_back(OpInfo.CallOperand);
|
||||
break;
|
||||
} else {
|
||||
// Otherwise, this outputs to a register (directly for C_Register /
|
||||
// C_RegisterClass, and a target-defined fashion for
|
||||
@ -8318,8 +8317,7 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
||||
}
|
||||
|
||||
assert((OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
|
||||
OpInfo.ConstraintType == TargetLowering::C_Register ||
|
||||
OpInfo.ConstraintType == TargetLowering::C_Immediate) &&
|
||||
OpInfo.ConstraintType == TargetLowering::C_Register) &&
|
||||
"Unknown constraint type!");
|
||||
|
||||
// TODO: Support this.
|
||||
|
Loading…
Reference in New Issue
Block a user