mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
[PowerPC] Add a FIXME.
Documenting a design choice to generate only medium model sequences for TLS addresses at this time. Small and large code models could be supported if necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5bd1dfa2b5
commit
3789209b79
@ -1408,6 +1408,10 @@ SDValue PPCTargetLowering::LowerBlockAddress(SDValue Op,
|
||||
SDValue PPCTargetLowering::LowerGlobalTLSAddress(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
|
||||
// FIXME: TLS addresses currently use medium model code sequences,
|
||||
// which is the most useful form. Eventually support for small and
|
||||
// large models could be added if users need it, at the cost of
|
||||
// additional complexity.
|
||||
GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
|
||||
SDLoc dl(GA);
|
||||
const GlobalValue *GV = GA->getGlobal();
|
||||
|
Loading…
Reference in New Issue
Block a user