-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIRRTL] Fix hasDontTouch crash on non-module block args
Fix an issue in `firrtl::hasDontTouch` where the cast to `FModuleOp` would crash if the function was called on a block argument of an operation that is not a module, for example, a `ContractOp`. Such block arguments are considered to not be marked as "don't touch".
- Loading branch information
1 parent
f292e2a
commit a47f7f0
Showing
2 changed files
with
17 additions
and
1 deletion.
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