-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Don't fold vmerge into ops if fp exception can be raised
We are already checking for fp exceptions if VL changes, but I believe we should also be checking for them if the mask changes as well, since that also affects the set of active elements. From the spec: > A vector floating-point exception at any active floating-point element sets > the standard FP exception flags in the fflags register. Inactive elements do > not set FP exception flags. Note that we don't change the mask if IsMasked is true, i.e. True is masked already, since in that case we keep the existing mask. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D154980
- Loading branch information
Showing
2 changed files
with
17 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
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