[llvm] [X86][CodeGen] Support lowering for CCMP/CTEST (PR #91747)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sat May 18 19:56:21 PDT 2024
================
@@ -3157,6 +3157,63 @@ X86::CondCode X86::getCondFromCFCMov(const MachineInstr &MI) {
: X86::COND_INVALID;
}
+int X86::getCondFlagsFromCondCode(X86::CondCode CC) {
----------------
KanRobert wrote:
The `CondCode` applies to all X86 instructions while the `CondCFlags` applies to APX conditional compares only so far.
Maybe `getCCMPCondFlagsFromCondCode` is better
https://github.com/llvm/llvm-project/pull/91747
More information about the llvm-commits
mailing list