[llvm] [X86][APX] Convert store(cmov(load(x), y), x) to cstore(y, x) (PR #118946)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 03:37:35 PST 2024


================
@@ -2927,6 +2927,24 @@ static X86::CondCode TranslateIntegerX86CC(ISD::CondCode SetCCOpcode) {
   }
 }
 
+static X86::CondCode getInvertedX86CC(X86::CondCode CC) {
----------------
RKSimon wrote:

We already have this in X86InstroInfo as X86::GetOppositeBranchCondition - can we share a helper in X86BaseInfo.h?

https://github.com/llvm/llvm-project/pull/118946


More information about the llvm-commits mailing list