Currently the bitcode library is build using the clang front-end
manually. This was originally done because we did not support device
only compilation. Now we support device only compilation, at least for a
single offloading toolchain, so we can instead use clang directly rather
than using the front-end. This saves us needing to define things like
aux_triple.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Passed the tests on my machine, who knows with this setup we have though.
Side note: the CI machine for this always fails because it can't find -lomptarget.devicertl and I'm not sure why. I tried to reproduce it but no such luck, it passed fine. I'm somewhat tempted to just disable the LTO tests for x86 to make it happy.
Comment Actions
An easy way to check this is sound would be llvm-dis | diff on the library before and after