[llvm] r250848 - [Hexagon] Change Based->Base in getBasedWithImmOffset
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 20 12:21:06 PDT 2015
Author: kparzysz
Date: Tue Oct 20 14:21:05 2015
New Revision: 250848
URL: http://llvm.org/viewvc/llvm-project?rev=250848&view=rev
Log:
[Hexagon] Change Based->Base in getBasedWithImmOffset
Modified:
llvm/trunk/lib/Target/Hexagon/Hexagon.td
llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
Modified: llvm/trunk/lib/Target/Hexagon/Hexagon.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/Hexagon.td?rev=250848&r1=250847&r2=250848&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/Hexagon.td (original)
+++ llvm/trunk/lib/Target/Hexagon/Hexagon.td Tue Oct 20 14:21:05 2015
@@ -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"];
Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp?rev=250848&r1=250847&r2=250848&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp Tue Oct 20 14:21:05 2015
@@ -1986,7 +1986,7 @@ bool HexagonInstrInfo::NonExtEquivalentE
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
// 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:
More information about the llvm-commits
mailing list