[PATCH] D122013: [InstCombine] Fold abs of known negative operand when source is sub
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 11:25:02 PDT 2022
RKSimon added a reviewer: RKSimon.
RKSimon added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/abs-intrinsic.ll:430
+define i32 @sub_abs(i32 %x, i32 %y) {
+; CHECK-LABEL: @sub_abs
+entry:
----------------
where are the actual codegen checks?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122013/new/
https://reviews.llvm.org/D122013
More information about the llvm-commits
mailing list