Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV][NFC] Unify compatibility checks under one function
Split off from D125021. We were duplicating logic across different phases. Since we want to ensure a consistency of logic across phases for correctness, this patch combines our multiple compatibility checks into one function to better convey this. Several methods were made const too. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D126472
- Loading branch information
1 parent
f168a65
commit 3e450d9
Showing
1 changed file
with
19 additions
and
12 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