ARM: use symbolic name for constant
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 30 Jun 2014 03:11:14 +0000 (03:11 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 30 Jun 2014 03:11:14 +0000 (03:11 +0000)
This just changes the constant value to the symbolic name corresponding to it.
NFC.

llvm-svn: 212011

llvm/lib/Target/ARM/ARMMCInstLower.cpp

index 48141b1..023f5f8 100644 (file)
@@ -34,7 +34,7 @@ MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO,
                                    OutContext);
     switch (Option) {
     default: llvm_unreachable("Unknown target flag on symbol operand");
-    case 0:
+    case ARMII::MO_NO_FLAG:
       break;
     case ARMII::MO_LO16:
       Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None,