[llvm] [GVN][NewGVN][Local] Handle attributes for function calls after CSE (PR #114011)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 08:04:25 PDT 2024


dtcxzyw wrote:

> an easier way to implement this would be make patchReplacementInstruction return a bool to indicate I and Repl where successfully patched.

I tried that before. But it may be too late in `GVNPass::performScalarPRE` :(


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


More information about the llvm-commits mailing list