[PATCH] Allow code generation of ARM usat/ssat instructions
weimingz at codeaurora.org
Wed Apr 1 09:11:02 PDT 2015
Right. After Ahmed's generic saturation intrinsic patch is merged, let's revisit it.
In http://reviews.llvm.org/D8371#150356, @jmolloy wrote:
> Hi Weiming,
> I've been looking at clamp() too, specifically when we don't have the right bounds for a saturation, so we need to emit a sequence of min + max instructions.
> I think your patch is a good basis for this, but please do bear in mind the other use case when designing your helper functions so it is possible to add this behaviour in the future!
More information about the llvm-commits