Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Move FixableDef handling out of isSignExtendingOpW.
We have two layers of opcode checks. The first is in isSignExtendingOpW. If that returns false, a second switch is used for looking through nodes by adding them to the worklist. Move the FixableDef handling to the second switch. This simplies the interface of isSignExtendingOpW and makes that function more accurate to its name.
- Loading branch information
Showing
1 changed file
with
22 additions
and
29 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