Commit 09d7678
committed
[RISCV] Simplify the check for when to call EmitLoweredCascadedSelect. NFC
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 8a65196 commit 09d7678
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21444 | 21444 | | |
21445 | 21445 | | |
21446 | 21446 | | |
21447 | | - | |
21448 | | - | |
21449 | | - | |
21450 | | - | |
21451 | | - | |
21452 | | - | |
| 21447 | + | |
| 21448 | + | |
21453 | 21449 | | |
21454 | 21450 | | |
21455 | 21451 | | |
| |||
0 commit comments