[llvm] [clang] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 19 07:39:04 PST 2024
================
@@ -510,7 +510,8 @@ SDNode *PPCDAGToDAGISel::getGlobalBaseReg() {
}
// Check if a SDValue has the toc-data attribute.
-static bool hasTocDataAttr(SDValue Val, unsigned PointerSize) {
+static bool hasTocDataAttr(SDValue Val, unsigned PointerSize,
+ const PPCSubtarget *Subtarget) {
----------------
diggerlin wrote:
I do not think we still need the function parameter `const PPCSubtarget *Subtarget` ?
https://github.com/llvm/llvm-project/pull/67999
More information about the cfe-commits
mailing list