Displaying 1 result from an estimated 1 matches for "d25987".
Did you mean:
d25587
2017 May 16
2
[RFC] Canonicalization of unsigned subtraction with saturation
Hi,
This message is a result of a discussion of backend optimization for sub(max) pattern(https://reviews.llvm.org/D25987), which can be either converted to unsigned min-max or unsigned saturation instruction(if the target supports it).
Currently these versions of the code produce different IR(and we need to manage both types in backend):
(1.16)
void foo(unsigned short *p, unsigned short max, int n) {
int i;
unsign...