[PATCH] D153479: [NFC] Tests for future commit in DAGCombiner

Konstantina Mitropoulou via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 15:23:49 PDT 2023


kmitropoulou added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/combine_andor_with_cmps.ll:274-275
+; CHECK-NEXT:    s_setpc_b64 s[30:31]
+  %cmp1 = icmp slt i32 %arg1, 1000
+  %cmp2 = icmp slt i32 %arg2, 1000
+  %and  = and i1 %cmp1, %cmp2
----------------
arsenm wrote:
> Some tests where the compare types don't match?
In test62, the predicates are different and in test63, the compare types are different.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153479



More information about the llvm-commits mailing list