llvm-project
db0eceaa - [AMDGPU] Fix uncaught changes made by AMDGPUPreloadKernelArgumentsPass (#154645)

Commit
32 days ago
[AMDGPU] Fix uncaught changes made by AMDGPUPreloadKernelArgumentsPass (#154645) #153975 added a new test, `test/CodeGen/AMDGPU/disable-preload-kernargs.ll`, that triggers an assertion under `LLVM_ENABLE_EXPENSIVE_CHECKS` complaining about not invalidating analyses even when the Pass made changes. It was caused by the fact that the Pass only invalidates the analyses when number of explicit arguments is greater than zero, while it is possible that some functions will be removed even when there isn't any explicit argument, hence the missed invalidation.
Author
Parents
Loading