Details
- Reviewers
enh pirama jrtc27 - Commits
- rG6bcf57f0b7ec: Enable zbb for riscv android
Diff Detail
Event Timeline
If this is not the right way to change the default, can you point us to the right place?
Where the defaults for all other OSes are set (since none of those default to plain RV64I): https://github.com/llvm/llvm-project/blob/d3074f16a6f6b3447bf728d8a6d19f35f02179db/clang/lib/Driver/ToolChains/Arch/RISCV.cpp#L238
clang/lib/Driver/ToolChains/Arch/RISCV.cpp | ||
---|---|---|
299–300 | What about this case? Though why this doesn't also check UnknownOS and do something sensible for plain lp64 I don't know... I have a funny feeling I even commented on some riscv-toolchain-conventions issue about this kind of craziness where passing seemingly no-op options (ones that match the default) have knock-on effects. | |
314–320 |
clang/lib/Driver/ToolChains/Arch/RISCV.cpp | ||
---|---|---|
300 | (stray tab) |
clang/lib/Driver/ToolChains/Arch/RISCV.cpp | ||
---|---|---|
300 | it is just the way phabricator shows whitespace changes. I verified in the uploaded patch. |
What about this case? Though why this doesn't also check UnknownOS and do something sensible for plain lp64 I don't know... I have a funny feeling I even commented on some riscv-toolchain-conventions issue about this kind of craziness where passing seemingly no-op options (ones that match the default) have knock-on effects.