forked from GPUOpen-Drivers/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.
[AMDGPU] Fix regclass for operand subregs in SIInsertWaterfall
If operand is a register with subregister marking then getRegClass will get us larger class of full register. We need to check if a subreg is used instead of full register and pick only that subreg in any later instructions. Change-Id: I892f51f7668c250d33c811d705ea9a0e28b48478
- Loading branch information
1 parent
3dbeb7a
commit 44408c8
Showing
2 changed files
with
9 additions
and
6 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