Displaying 1 result from an estimated 1 matches for "targetloweringxx".
Did you mean:
targetlowering
2015 Jun 24
3
[LLVMdev] DataLayout
...however it wouldn’t work in a multi-threaded environment (or the query would have to be behind a Mutex).
Another option is to remove the DataLayout from the TargetMachine, I tried it and it seems possible but awkward as well in some places where the DataLayout has to be supplied externally because TargetLoweringXX would not have it.
Finally the TargetMachine could be deemed to be "context-specific”, i.e. the CodeGen infrastructure would need to be reinitialized for each new Context. That would be a strong limitation though.
There may be other options?
—
Mehdi