-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llpc: optimize constant local arrays to constant globals when multipl…
…e stores are used For allocas of array type, detect the case where the array is filled by multiple stores of constant values to constant (and disjoint) indices, and promote such allocas to constant globals. Co-authored-by: Nicolai Hähnle <[email protected]>
- Loading branch information
1 parent
1aebd12
commit e25dd51
Showing
3 changed files
with
223 additions
and
123 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.