[llvm] [IR] Add require-logical-module module flag (PR #193502)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 14:53:46 PDT 2026


nikic wrote:

> Would it be better in the meantime to have a module flag, and once we have a clearer picture of how much we can constraint it, do a proper datalayout addition/design?

Yes, I think this is fine. A module flag is the least intrusive way to introduce this for now.

Should still be documented in LangRef though.

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


More information about the llvm-commits mailing list