[llvm] [Analysis] Add Scalable field in MemoryLocation.h (PR #69716)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 03:50:06 PDT 2023


================
@@ -98,12 +105,13 @@ class LocationSize {
   // this assumes the provided value is precise.
   constexpr LocationSize(uint64_t Raw)
       : Value(Raw > MaxValue ? AfterPointer : Raw) {}
-
-  static LocationSize precise(uint64_t Value) { return LocationSize(Value); }
+  // Make construction of LocationSize that takes in uint64_t to set Scalable
+  // information as false
----------------
nikic wrote:

```suggestion
  /// Create non-scalable LocationSize.
```

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


More information about the llvm-commits mailing list