[PATCH] D98152: [InstCombine] Canonicalize SPF to min/max intrinsics
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 28 12:15:44 PDT 2021
xbolva00 added a comment.
prof metadata support for abs/min/max is still missing.
================
Comment at: llvm/test/Transforms/InstCombine/minmax-fold.ll:1111
+; CHECK-NEXT: [[U5:%.*]] = add nuw nsw i32 [[U4]], 15
+; CHECK-NEXT: [[TMP1:%.*]] = call i32 @llvm.umax.i32(i32 [[U5]], i32 255)
+; CHECK-NEXT: [[R:%.*]] = trunc i32 [[TMP1]] to i8
----------------
Regression.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98152/new/
https://reviews.llvm.org/D98152
More information about the llvm-commits
mailing list