[Mlir-commits] [clang] [llvm] [mlir] [IR][ModRef] Introduce `errno` memory location (PR #120783)

Nikita Popov llvmlistbot at llvm.org
Thu Feb 6 08:17:19 PST 2025


================
@@ -194,6 +194,10 @@ class LocationSize {
     return hasValue() && getValue() == Other;
   }
 
+  bool operator<=(const LocationSize &Other) const {
+    return Value <= Other.Value;
----------------
nikic wrote:

LocationSize has a whole bunch of special values and bits that make this incorrect. You need to work on getValue() for the cases where it is valid.

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


More information about the Mlir-commits mailing list