https://github.com/davemgreen commented:

It looks like this comes from the lowerIfMemSizeNotByteSizePow2. Custom is 
often best avoided unless there is not anther way, or the change is quite 
target-dependant.

Can we try something like this instead?
```
      .clampMaxNumElements(0, s8, 16)
      .clampMaxNumElements(0, s16, 8)
      .clampMaxNumElements(0, s32, 4)
      .clampMaxNumElements(0, s64, 2)
      .clampMaxNumElements(0, p0, 2)
      .lowerIfMemSizeNotByteSizePow2()
      ...
```

https://github.com/llvm/llvm-project/pull/85042
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to