This adds the __riscv_bitmanip macro and the 'b' target feature to enable it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 42566 Build 43084: arc lint + arc unit
Event Timeline
Comment Actions
Thanks Scott, it should be relatively easy to add tests for this in 'clang/test/Preprocessor/riscv-target-features.c' if you could.
Comment Actions
@s.egerton Please can you revert rG57cf6ee9c84434161088c39a6f8dd2aae14eb12d - this patch has open dependencies, including on the LLVM support for RISC-V B extension. It would be confusing to users if clang 10.0 contained frontend support for the B extension, but LLVM 10.0 did not contain backend support for it.
Sorry for the confusion around marking this as approved.
Comment Actions
@s.egerton Thank you. Sorry again for the confusion.
Reverted in rGcbe681bd8339d3a018d25441a5f4ef9da2bd017d
clang/lib/Basic/Targets/RISCV.cpp | ||
---|---|---|
129 | delete {} |
delete {}