[llvm] [Inline] Propagate FMFs from calls to inlined instructions. (PR #145537)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 08:57:36 PDT 2025


https://github.com/nikic commented:

I think this may work for the poison-generating flags by propagating that poison, but I don't think this is a valid things to do for rewrite-based flags.

More generally, I would say that FMF on calls really only makes sense for intrinsics (or things that are "close enough", like libcalls), but not user-defined functions.

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


More information about the llvm-commits mailing list