mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
rename MVT::Flag to MVT::Glue. "Flag" is a terrible name for
something that just glues two nodes together, even if it is sometimes used for flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1085,7 +1085,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
|
||||
Tmp1 = LegalizeOp(Node->getOperand(0)); // Legalize the chain.
|
||||
// Do not try to legalize the target-specific arguments (#1+), except for
|
||||
// an optional flag input.
|
||||
if (Node->getOperand(Node->getNumOperands()-1).getValueType() != MVT::Flag){
|
||||
if (Node->getOperand(Node->getNumOperands()-1).getValueType() != MVT::Glue){
|
||||
if (Tmp1 != Node->getOperand(0)) {
|
||||
SmallVector<SDValue, 8> Ops(Node->op_begin(), Node->op_end());
|
||||
Ops[0] = Tmp1;
|
||||
|
||||
Reference in New Issue
Block a user