search for: lowertotlsemulatedmodel

Displaying 4 results from an estimated 4 matches for "lowertotlsemulatedmodel".

2017 Feb 08
3
[cfe-dev] lli: LLVM ERROR: Cannot select: X86ISD::WrapperRIP TargetGlobalTLSAddress:i64
> Unfortunately it doesn't look like lli has support for emulated TLS either, though that would be pretty simple to add. As an experiment I've `llvm::createLowerEmuTLSPass` into lli which added @__emutls_v.x and @__emutls_v.t. However i didn't have any __emultls_get_address calls in my IR. Is there a llvm pass or compiler-flag that replaces thread_locals with appropriate
2017 Feb 08
0
[cfe-dev] lli: LLVM ERROR: Cannot select: X86ISD::WrapperRIP TargetGlobalTLSAddress:i64
[Adding llvm-dev back to list] On 8 February 2017 at 11:12, Gaetano Checinski <gaetano.checinski at gmail.com> wrote: > Thanks for sharing your insights, > so in theory i could build an llvm pass that calls TargetLowering::LowerToTLSEmulatedModel for each llvm::Function and it should work if i link a runtime that provides __emultls_get_address. I'm afraid not, that function is called as part of converting from a Function to a MachineFunction. It operates on a completely different representation to normal LLVM IR. The only way to trigge...
2017 Feb 09
1
[cfe-dev] lli: LLVM ERROR: Cannot select: X86ISD::WrapperRIP TargetGlobalTLSAddress:i64
...t;t.p.northover at gmail.com>: > [Adding llvm-dev back to list] > > On 8 February 2017 at 11:12, Gaetano Checinski > <gaetano.checinski at gmail.com> wrote: > > Thanks for sharing your insights, > > so in theory i could build an llvm pass that calls TargetLowering::LowerToTLSEmulatedModel > for each llvm::Function and it should work if i link a runtime that > provides __emultls_get_address. > > I'm afraid not, that function is called as part of converting from a > Function to a MachineFunction. It operates on a completely different > representation to normal LL...
2018 Apr 22
0
[cfe-dev] lli: LLVM ERROR: Cannot select: X86ISD::WrapperRIP TargetGlobalTLSAddress:i64
...; >> [Adding llvm-dev back to list] >> >> On 8 February 2017 at 11:12, Gaetano Checinski >> <gaetano.checinski at gmail.com> wrote: >> > Thanks for sharing your insights, >> > so in theory i could build an llvm pass that calls >> TargetLowering::LowerToTLSEmulatedModel for each llvm::Function and it >> should work if i link a runtime that provides __emultls_get_address. >> >> I'm afraid not, that function is called as part of converting from a >> Function to a MachineFunction. It operates on a completely different >> representati...