-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AlignModuleStructsPass] Update types in constants
Execution.Regression_35_Constant_Struct_Alignment reveals on LLVM 20 that if a constant expression references a type that needs to be replaced, we were ignoring it unless the constant expression also happened to contain references to globals that need to be replaced. Do a pass over constant operands and update them to instructions as needed.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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