[llvm] [InstCombine] Add an option to skip simplification on call instruction where a non-void return value is expected while the callee returns void (PR #98536)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 02:38:10 PDT 2024


nikic wrote:

I think we should remove the void/non-void transform entirely, not just add an option. I don't really see a good reason to perform this transform. Looking back at the history, I think this is just a leftover of an overly liberal initial implementation.

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


More information about the llvm-commits mailing list