ARM: use symbolic name for constant

This just changes the constant value to the symbolic name corresponding to it.
NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Saleem Abdulrasool 2014-06-30 03:11:14 +00:00
parent 36c789f00e
commit e8bd687156

View File

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