[llvm] [LLVM][IR] Add support for address space names in DataLayout (PR #170559)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 4 07:51:46 PST 2025
================
@@ -233,6 +231,15 @@ DataLayout &DataLayout::operator=(const DataLayout &Other) {
bool DataLayout::operator==(const DataLayout &Other) const {
// NOTE: StringRepresentation might differ, it is not canonicalized.
+ auto IsPointerSpecEqual = [this, &Other](const PointerSpec &A,
----------------
jurahul wrote:
I agree that making them std::string will simplify this. I'll do that.
https://github.com/llvm/llvm-project/pull/170559
More information about the llvm-commits
mailing list