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

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 01:03:11 PDT 2023


https://github.com/davemgreen commented:

Is it worth adding a isScalable check to this line in Attributors getKnownNonNullAndDerefBytesForUse:
```
if (!Loc || Loc->Ptr != UseV || !Loc->Size.isPrecise() || I->isVolatile())
```

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


More information about the llvm-commits mailing list