[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:32:25 PDT 2023


kmitropoulou added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/combine_andor_with_cmps.ll:18-19
+; CHECK-NEXT:    s_setpc_b64 s[30:31]
+  %cmp1 = icmp slt i32 %arg1, 1000
+  %cmp2 = icmp slt i32 %arg2, 1000
+  %or  = or i1 %cmp1, %cmp2
----------------
arsenm wrote:
> Do you need tests where these use different constants?
I added test65.


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