[llvm] r212011 - ARM: use symbolic name for constant
Saleem Abdulrasool
compnerd at compnerd.org
Sun Jun 29 20:11:14 PDT 2014
Author: compnerd
Date: Sun Jun 29 22:11:14 2014
New Revision: 212011
URL: http://llvm.org/viewvc/llvm-project?rev=212011&view=rev
Log:
ARM: use symbolic name for constant
This just changes the constant value to the symbolic name corresponding to it.
NFC.
Modified:
llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp?rev=212011&r1=212010&r2=212011&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp Sun Jun 29 22:11:14 2014
@@ -34,7 +34,7 @@ MCOperand ARMAsmPrinter::GetSymbolRef(co
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,
More information about the llvm-commits
mailing list