[llvm] [DirectX] Implement the ForwardHandleAccesses pass (PR #135378)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 09:23:22 PDT 2025


bogner wrote:

> Does this change mean we won't run GlobalOpt anymore? I ask because I'm seeing about 427 crashes associated with `llvm/lib/Transforms/IPO/GlobalOpt.cpp` `CleanupConstantGlobalUsers` and if this pass replaces it then I'll exclude the GlobalOpt crashes from my triage.

No, I think we still want to run `GlobalOpt`. `GlobalOpt` is still useful in the optimization pipeline even if we don't rely on it for cleaning up resource handles.

https://github.com/llvm/llvm-project/pull/135378


More information about the llvm-commits mailing list