llvm-project
e81a564c - opt: Stop creating TargetMachine to infer the datalayout (#169585)

Commit
146 days ago
opt: Stop creating TargetMachine to infer the datalayout (#169585) The Triple directly has the datalayout string in it, so just use that. The logical flow here is kind of a mess. We were constructing a temporary target machine in the asm parser to infer the datalayout, throwing it away, and then creating another target machine for the actual compilation. The flow of the Triple construction is still convoluted, but we can at least drop the TargetMachine.
Author
Parents
Loading