[Hexagon] Change Based->Base in getBasedWithImmOffset
llvm-svn: 250848
This commit is contained in:
parent
0dd75fdfa9
commit
0257905f27
|
@ -158,7 +158,7 @@ def getNonNVStore : InstrMapping {
|
|||
let ValueCols = [["false"]];
|
||||
}
|
||||
|
||||
def getBasedWithImmOffset : InstrMapping {
|
||||
def getBaseWithImmOffset : InstrMapping {
|
||||
let FilterClass = "AddrModeRel";
|
||||
let RowFields = ["CextOpcode", "PredSense", "PNewValue", "isNVStore",
|
||||
"isFloat"];
|
||||
|
|
|
@ -1986,7 +1986,7 @@ bool HexagonInstrInfo::NonExtEquivalentExists (const MachineInstr *MI) const {
|
|||
case HexagonII::Absolute :
|
||||
// Load/store with absolute addressing mode can be converted into
|
||||
// base+offset mode.
|
||||
NonExtOpcode = Hexagon::getBasedWithImmOffset(MI->getOpcode());
|
||||
NonExtOpcode = Hexagon::getBaseWithImmOffset(MI->getOpcode());
|
||||
break;
|
||||
case HexagonII::BaseImmOffset :
|
||||
// Load/store with base+offset addressing mode can be converted into
|
||||
|
@ -2017,7 +2017,7 @@ short HexagonInstrInfo::getNonExtOpcode (const MachineInstr *MI) const {
|
|||
// Check addressing mode and retrieve non-ext equivalent instruction.
|
||||
switch (getAddrMode(MI)) {
|
||||
case HexagonII::Absolute :
|
||||
return Hexagon::getBasedWithImmOffset(MI->getOpcode());
|
||||
return Hexagon::getBaseWithImmOffset(MI->getOpcode());
|
||||
case HexagonII::BaseImmOffset :
|
||||
return Hexagon::getBaseWithRegOffset(MI->getOpcode());
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue