[PATCH] D52286: [Intrinsic] Signed Saturation Intirnsic
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 28 16:36:26 PDT 2018
craig.topper added a comment.
Adding @spatel. This feels like it could be implemented with a min+max sequence in IR using 2 icmps and 2 selects. We've already spent quite a lot of effort optimizing these common patterns in both IR and SelectionDAG with the SMAX/SMIN ISD opcodes.
Repository:
rL LLVM
https://reviews.llvm.org/D52286
More information about the llvm-commits
mailing list