forked from rust-lang/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that vectors are reported correctly in stackmaps.
To get an accurate view of a vector live variable, we have to recursively search the DAG for the initial `BUILD_VECTOR` DAG node and then look for `INSERT_VECTOR_ELT` nodes (element insertions) as we bubble up from recursion, updating our view as we go. Also Updated tests to cover this use case. (The search technique was inspired by the `getUnderlyingArgRegs()` function from the same file, which does something similar: recursively searches for `CopyFromReg` nodes)
- Loading branch information
Showing
3 changed files
with
343 additions
and
10 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
Oops, something went wrong.