mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 10:06:05 +00:00

The constructor initializes `*this` with `M->getDataLayout()`, which is effectively the same as calling the copy constructor. There does not seem to be a case where a copy would be necessary. Pull Request: https://github.com/llvm/llvm-project/pull/102841