summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorJason Liu <jasonliu.development@gmail.com>2019-07-22 19:55:33 +0000
committerJason Liu <jasonliu.development@gmail.com>2019-07-22 19:55:33 +0000
commit8dd563ef4b4888fdcb710bd042eb9d36abedafec (patch)
treea4644cbf440f247da26f762d7bf7327c3a5fbc44 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent89385633ba1f6c6afbc304460d6385b05edb428d (diff)
downloadbcm5719-llvm-8dd563ef4b4888fdcb710bd042eb9d36abedafec.tar.gz
bcm5719-llvm-8dd563ef4b4888fdcb710bd042eb9d36abedafec.zip
[NFC][PowerPC]Change ADDIStocHA to ADDIStocHA8 to follow 64-bit naming convention
Summary: Since we are planning to add ADDIStocHA for 32bit in later patch, we decided to change 64bit one first to follow naming convention with 8 behind opcode. Patch by: Xiangling_L Differential Revision: https://reviews.llvm.org/D64814 llvm-svn: 366731
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 24d50074860..b1ab405e54f 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -14336,7 +14336,7 @@ bool PPCTargetLowering::isAccessedAsGotIndirect(SDValue GA) const {
CodeModel::Model CModel = getTargetMachine().getCodeModel();
// If it is small or large code model, module locals are accessed
// indirectly by loading their address from .toc/.got. The difference
- // is that for large code model we have ADDISTocHa + LDtocL and for
+ // is that for large code model we have ADDIStocHA8 + LDtocL and for
// small code model we simply have LDtoc.
if (CModel == CodeModel::Small || CModel == CodeModel::Large)
return true;
OpenPOWER on IntegriCloud