[PATCH] D76652: [AArch64][GlobalISel] Don't localize TLS G_GLOBAL_VALUEs on Darwin.
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 23 17:59:25 PDT 2020
paquette added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:13937
+ const GlobalValue &GV = *MI.getOperand(1).getGlobal();
+ if (GV.isThreadLocal() && Subtarget->isTargetMachO())
+ return false;
----------------
Why not `Subtarget->isTargetDarwin()`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76652/new/
https://reviews.llvm.org/D76652
More information about the llvm-commits
mailing list