[llvm-branch-commits] [llvm] 7c9afe9 - [Hexagon] Fix gcc6 compilation issue
Krzysztof Parzyszek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Dec 10 06:23:09 PST 2020
Author: Krzysztof Parzyszek
Date: 2020-12-10T08:17:07-06:00
New Revision: 7c9afe9183ee5b2b649bfa34da2a83eca886a924
URL: https://github.com/llvm/llvm-project/commit/7c9afe9183ee5b2b649bfa34da2a83eca886a924
DIFF: https://github.com/llvm/llvm-project/commit/7c9afe9183ee5b2b649bfa34da2a83eca886a924.diff
LOG: [Hexagon] Fix gcc6 compilation issue
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
index 8af1f6d15ad1..7791fb9a1a74 100644
--- a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
@@ -483,7 +483,7 @@ auto AlignVectors::createAddressGroups() -> bool {
auto traverseBlock = [&](DomTreeNode *DomN, auto Visit) -> void {
BasicBlock &Block = *DomN->getBlock();
for (Instruction &I : Block) {
- auto AI = getAddrInfo(I);
+ auto AI = this->getAddrInfo(I); // Use this-> for gcc6.
if (!AI)
continue;
auto F = findBaseAndOffset(*AI);
More information about the llvm-branch-commits
mailing list