Commit Graph

3 Commits

Author SHA1 Message Date
eopXD 8b62f19f27 [Driver][RISCV] Add missing rv64 test case
Add missing test case. Thanks @rogfer01 for spotting this out.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D120297
2022-02-23 22:53:42 -08:00
Aaron Ballman dcc4feb9a4 Use function prototypes when appropriate; NFC 2022-02-23 17:12:25 -05:00
eopXD 7f51a9e273 [RISCV] Fix RISCVTargetInfo::initFeatureMap, add non-ISA features back after implication
Previously D113336 makes RISCVTargetInfo::initFeatureMap return the results
processed by RISCVISAInfo, which only consists of ISA features and misses
non-ISA features like `relax` and `save-restore`.

This patch fixes the problem.

Reviewed By: junparser

Differential Revision: https://reviews.llvm.org/D119541
2022-02-13 21:05:06 -08:00