Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I thought we could override isPICDefault in AMDGPUToolChain instead of doing what is posted. But AMDGPUToolChain is only created for AMDHSA OS.
Do we want to enable PIC by default for all AMDGCNs? Or only for AMDHSA?
Comment Actions
For now seems reasonable to fix amdgpu as PIC. If/when other clients of amdgpu have tool chains defined then can switch to controling in the toolchain isPICDefault() function.