[RISCV] Make zfbfmin imply the F extension
authorAlex Bradbury <asb@igalia.com>
Tue, 23 May 2023 09:09:22 +0000 (10:09 +0100)
committerAlex Bradbury <asb@igalia.com>
Tue, 23 May 2023 09:10:11 +0000 (10:10 +0100)
commit033690fffe8f1e2f4be100ee4da62e5c04655e4f
treea125afa74c286edc77b04dbdf3ea5891b0047ca9
parent1362dfe16583607e39ac88e2a4de0f356c407cc7
[RISCV] Make zfbfmin imply the F extension

Our current approach is that if one extension requires another, we make
LLVM treat it as implied. My initial zfbfmin patch failed to do this for
the F extension (documented as a requirement of zfbfmin). This patch
fixes that.

Differential Revision: https://reviews.llvm.org/D151096
llvm/lib/Support/RISCVISAInfo.cpp
llvm/test/MC/RISCV/attribute-arch.s