[PATCH] D110339: SelectionDAGBuilder: Improve canonicalization by not swapping branch targets
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 23 09:17:32 PDT 2021
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/X86/2006-08-21-ExtraMovInst.ll:15
+; CHECK-NEXT: cmpl $39, %ecx
+; CHECK-NEXT: jle .LBB0_1
; CHECK-NEXT: # %bb.2: # %bb12
----------------
This kind of thing is going to increase EFLAGS usage - I addressed this for CMOVs + SETs with SGT/UGT in D101074 but haven't had time to address JMP/BRANCH, or add the SLE/ULE equivalent yet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110339/new/
https://reviews.llvm.org/D110339
More information about the llvm-commits
mailing list