[PATCH] D141829: [AArch64] fold subs ugt/ult to ands when the second operand is a mask

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 05:55:34 PST 2023


bcl5980 added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/andcompare.ll:2406
+define i32 @cmp_to_ands1(i32 %num) {
+; SDISEL-LABEL: cmp_to_subs1:
+; SDISEL:       // %bb.0:
----------------
samtebbs wrote:
> Looks like the labels in the check statements are mixed up.
I'm sorry but I haven't understand what you said. What labels are mixed up? One of the result is SDAG and the other is GISel.


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

https://reviews.llvm.org/D141829



More information about the llvm-commits mailing list