We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8bcb53 commit 4819126Copy full SHA for 4819126
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
@@ -2960,8 +2960,12 @@ bool AArch64InstructionSelector::select(MachineInstr &I) {
2960
assert(OpFlags == AArch64II::MO_GOT);
2961
} else {
2962
GV = I.getOperand(1).getGlobal();
2963
- if (GV->isThreadLocal())
+ if (GV->isThreadLocal()) {
2964
+ // We don't support instructions with emulated TLS variables yet
2965
+ if (TM.useEmulatedTLS())
2966
+ return false;
2967
return selectTLSGlobalValue(I, MRI);
2968
+ }
2969
OpFlags = STI.ClassifyGlobalReference(GV, TM);
2970
}
2971
0 commit comments