Commit 375af75
authored
[RISCV] Simplify the check for when to call EmitLoweredCascadedSelect. NFC (#145930)
Based on the comments and tests, we only want to call
EmitLoweredCascadedSelect on selects of FP registers.
Everytime we add a new branch with immediate opcode, we've been
excluding it here.
This patch switches to checking that the comparison operands are both
registers so branch on immediate is automatically excluded.1 parent b76bc18 commit 375af75
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21445 | 21445 | | |
21446 | 21446 | | |
21447 | 21447 | | |
21448 | | - | |
21449 | | - | |
21450 | | - | |
21451 | | - | |
21452 | | - | |
21453 | | - | |
| 21448 | + | |
| 21449 | + | |
21454 | 21450 | | |
21455 | 21451 | | |
21456 | 21452 | | |
| |||
0 commit comments