Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland [RISCV] Fix gaps in IgnoreUnknown=true for RISCVISAInfo::parse…
…ArchString Prior to this patch, unrecognised z/s/sx/x prefixed extensions were not ignored when IgnoreUnknown=true. The first version of this patch, a7313f8, incorrectly used `!isSupportedExtension(Ext)` rather than `!isSupportedExtension(Name)`. i.e. checked the full substring rather than the split out name, causing incorrect behaviour when a version is specified. This was fixed and a new test case addded. Differential Revision: https://reviews.llvm.org/D145882
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters