[PATCH] D133328: [InstCombine] Fold icmp x, ~x and icmp ~x, x by testing the sign

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 02:16:07 PDT 2022


RKSimon added a reviewer: RKSimon.
RKSimon added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/icmp-not.ll:7
+
+define <2 x i1> @icmp_not_sgt_1(<2 x i32> %_x) {
+; CHECK-LABEL: @icmp_not_sgt_1(
----------------
please don't enumerate tests - chose a name that describes the pattern + any specific constant you're using


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133328/new/

https://reviews.llvm.org/D133328



More information about the llvm-commits mailing list