llvm-project
e944aa22 - [GVN] Scan users of the walker's clobbering access for local load dependencies (#248803)

Commit
6 hours ago
[GVN] Scan users of the walker's clobbering access for local load dependencies (#248803) Previously, if the clobber found in Phase 1 is a MemoryPhi or a MemoryDef outside the current BB, we proceed directly to Phase 2/3. However, the clobber returned by the walker may still have users in the current BB, which can be candidates for available values. As a result, we add support for scanning MemoryUses of the clobber returned by the walker before proceeding to Phase 2/3. Assisted-by: Claude # Test
Author
Parents
Loading