[PATCH] D61494: AMDGPU: Write LDS objects out as global symbols in code generation
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 3 06:00:48 PDT 2019
arsenm added a comment.
Is it still possible to make use constant addresses in some cases? If there are no calls for example
================
Comment at: include/llvm/CodeGen/AsmPrinter.h:623-628
+ /// This emits visibility information about symbol, if this is supported by
+ /// the target.
+ void EmitVisibility(MCSymbol *Sym, unsigned Visibility,
+ bool IsDefinition = true) const;
+
+ void EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
----------------
Separate patch
================
Comment at: include/llvm/CodeGen/MachineOperand.h:716-718
+ /// ChangeToGA - Replace this operand with a new global address operand.
+ void ChangeToGA(const GlobalValue *GV, int64_t Offset,
+ unsigned char TargetFlags = 0);
----------------
This should be a separate patch
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61494/new/
https://reviews.llvm.org/D61494
More information about the llvm-commits
mailing list