From 4a1e409a4d28e4f855281e9300a61cf637405343 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 30 Jun 2014 03:11:14 +0000 Subject: [PATCH] ARM: use symbolic name for constant This just changes the constant value to the symbolic name corresponding to it. NFC. llvm-svn: 212011 --- llvm/lib/Target/ARM/ARMMCInstLower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.cpp b/llvm/lib/Target/ARM/ARMMCInstLower.cpp index 48141b1..023f5f8 100644 --- a/llvm/lib/Target/ARM/ARMMCInstLower.cpp +++ b/llvm/lib/Target/ARM/ARMMCInstLower.cpp @@ -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, -- 2.7.4