-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the results of def/use analysis to check that the input LLVM
CFG is valid. This ensures that all non-metadata uses of virtual registers are proper, i.e., that their def sites dominate all use sites. In addition, track the set of live virtual registers during translation. This allows us to check which metadata values are properly defined as we translate them, in particular, for debugging intrinsics. Since these intrinsics don't necessarily follow the usual rules regarding use/def, it can sometimes happen that metadata values are not properly defined. In such cases we simply omit the ill-formed debugging intrinsic information. Fixes #798
- Loading branch information
1 parent
43b7a1e
commit c914655
Showing
3 changed files
with
63 additions
and
20 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
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