[PATCH] Add Integer Saturation Intrinsics.
renato.golin at linaro.org
Sat Mar 21 03:01:19 PDT 2015
My problem with implementing this on the ARM side is that the code won't be useful anywhere else.
Maybe, a better approach would be to have them just as special DAG nodes, created by a special DAG pass that only run for selected back-ends, instead of an IR intrisic, or an ARM-specific late pass.
I'm assuming the semantics of such pass would be very similar on other back-ends...
More information about the llvm-commits