[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 11:25:33 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:
Changed to use std::string, resolving.
https://github.com/llvm/llvm-project/pull/170559
More information about the llvm-commits
mailing list