[llvm] [GlobalISel] Optimize ULEB128 usage (PR #90565)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 03:08:54 PDT 2024
================
@@ -1565,13 +1565,14 @@ bool MemoryAddressSpacePredicateMatcher::isIdentical(
void MemoryAddressSpacePredicateMatcher::emitPredicateOpcodes(
MatchTable &Table, RuleMatcher &Rule) const {
+ assert(AddrSpaces.size() < 255);
----------------
jayfoad wrote:
```suggestion
assert(AddrSpaces.size() < 256);
```
https://github.com/llvm/llvm-project/pull/90565
More information about the llvm-commits
mailing list