This creates a TargetMachine with the default options (from the command
line flags). This allows us to share a bit more code between tools.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This breaks the builds.
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/bin/opt: error: unable to get target for 'nvptx64-nvidia-cuda', see --version and --triple.
Comment Actions
I believe I fixed that with https://github.com/llvm/llvm-project/commit/eb1905d2b6928be4b0258f021d145432ab7d292e
nit: Drop last part of the comment (which is not part of this patch).