Previously clang would print a binary blob into the bundled file
for amdgcn. With this patch, it will instead print textual IR as
expected.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
4397–4403 | Does unconditionally using emit-llvm here achieve the same result? |
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
4397–4403 | Nope, it would start producing textual IR even when there was no -emit-llvm -S. This could be problematic since we always have been producing .bc files including our libraries. |
Comment Actions
This is not working as expected. And has resulted in broken libomptarget tests. Reverting this until I find a different fix.
Does unconditionally using emit-llvm here achieve the same result?