[llvm] [AIX][TLS] Optimize the -maix-small-local-exec-tls local-exec access sequence for non-zero offsets (PR #71485)
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 12:18:08 PST 2023
================
@@ -7735,7 +7792,15 @@ void PPCDAGToDAGISel::PeepholePPC64() {
ImmOpnd = CurDAG->getTargetConstant(Offset, SDLoc(ImmOpnd),
ImmOpnd.getValueType());
} else if (Offset != 0) {
- continue;
+ if (!HasAIXSmallLocalExecTLS)
----------------
amy-kwan wrote:
Missing checks for thread pointer/TLS variable or not?
Double check this.
https://github.com/llvm/llvm-project/pull/71485
More information about the llvm-commits
mailing list