[llvm] [IR] Use `const Type*` in DataLayout (PR #70009)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 00:47:57 PDT 2023


https://github.com/nikic requested changes to this pull request.

I'm pretty sure we have a general policy of not using `const Type` (by dint of being meaningless) and there was a big change at some point to drop all uses of it.

I have at least found the change that reverted someone doing the same thing you're trying to do here: https://github.com/llvm/llvm-project/commit/0ae73930273be3a5eaa1f9d375dfd5f341fd5dc2

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


More information about the llvm-commits mailing list