SplitCSR was only supported for functions with CXX_FAST_TLS calling convention. Clang only emits that calling convention for Darwin which is no longer supported by the PowerPC backend. Another IR producer could potentially use the calling convention, but considering the calling convention is meant to be an optimization and the codegen for SplitCSR can be atrocious on Power (see the modified lit test) it is best to remove it and codegen CXX_FAST_TLS same as the C calling convention.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo