[PATCH] D149722: [AIX][TLS] Generate 64-bit local-exec access code sequence

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 11:55:08 PDT 2023


DiggerLin added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:3334
+  const TargetMachine &TM = getTargetMachine();
+  TLSModel::Model Model = TM.getTLSModel(GV);
+
----------------
TM only use once, change the above code to

TLSModel::Model Model = getTargetMachine().getTLSModel(GV); ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149722/new/

https://reviews.llvm.org/D149722



More information about the llvm-commits mailing list