[clang] [llvm] [RISCV][FMV] Support target_clones (PR #85786)

Piyou Chen via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 05:59:35 PDT 2024


BeMg wrote:

Update:

1. Remove all the `__riscv_feature_bits.length` checker due to unnecessary now.
2. Rebase with origin/main for tablegen change
3. Extract some common code as helper function
4. Replace RequireFeautreBits with getExtensionBitmask and compute the concrete bitmask inside CodeGenFunction::EmitRISCVCpuSupports
5. If there are extensions without bitmask be used, report the warning during Sema part.  

https://github.com/llvm/llvm-project/pull/85786


More information about the cfe-commits mailing list