[PATCH] D120219: [X86] Canonicalize SGT/UGT compares with constants for JCC to use SGE/UGE to reduce the number of EFLAGs reads.

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 04:32:56 PST 2022


pengfei added inline comments.


================
Comment at: llvm/test/CodeGen/X86/use-cr-result-of-dom-icmp-st.ll:27
 ; CHECK-NEXT:  # %bb.1: # %if.end
+; CHECK-NEXT:    cmpq $-2, %rdx
 ; CHECK-NEXT:    movl $1, %ecx
----------------
Regression?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120219



More information about the llvm-commits mailing list