[llvm] s390x: pattern match saturated truncation (PR #155377)
Folkert de Vries via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 04:16:18 PDT 2025
folkertdev wrote:
found the issue: after some copy/pasting the literal value for min and max was the same. That's not right. Also to match on signed values, the pattern must use `Imm.getSExtValue()`, otherwise that match fails.
Now I'll just need to generalize this a bit.
https://github.com/llvm/llvm-project/pull/155377
More information about the llvm-commits
mailing list