[LLVMdev] RFC: Integer saturation intrinsics

Bob Wilson bob.wilson at apple.com
Fri Jun 17 15:48:56 PDT 2011


On Jun 17, 2011, at 3:08 PM, Evan Cheng wrote:

> Hi all,
> 
> I'm proposing integer saturation intrinsics.
> 
> def int_ssat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
> def int_usat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;

These will replace the existing int_arm_ssat and int_arm_usat intrinsics, right?



More information about the llvm-dev mailing list