[PATCH] D120219: [X86] Canonicalize SGT/UGT compares with constants for JCC to use SGE/UGE to reduce the number of EFLAGs reads.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 21 03:08:29 PST 2022
RKSimon added a comment.
AMD targets tend to split the flags register into subregisters, so reading fewer flags often means we avoid multiple reads.
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