[llvm] [IR] Add new Range attribute using new ConstantRange Attribute type (PR #83171)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 09:17:21 PST 2024


================
@@ -354,6 +355,12 @@ class FoldingSetNodeID {
     AddInteger(unsigned(I));
     AddInteger(unsigned(I >> 32));
   }
+  void AddInteger(APInt Int) {
----------------
nikic wrote:

```suggestion
  void AddInteger(const APInt &Int) {
```

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


More information about the llvm-commits mailing list