mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 20:45:06 +00:00
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:
parent
36c789f00e
commit
e8bd687156
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user