@@ -2944,7 +2944,7 @@ bool X86::isOffsetSuitableForCodeModel(int64_t Offset, CodeModel::Model CM,
29442944}
29452945
29462946/// Return true if the condition is an signed comparison operation.
2947- static bool isX86CCSigned(unsigned X86CC) {
2947+ static bool isX86CCSigned(X86::CondCode X86CC) {
29482948 switch (X86CC) {
29492949 default:
29502950 llvm_unreachable("Invalid integer condition!");
@@ -22975,7 +22975,7 @@ static bool isProfitableToUseFlagOp(SDValue Op) {
2297522975
2297622976/// Emit nodes that will be selected as "test Op0,Op0", or something
2297722977/// equivalent.
22978- static SDValue EmitTest(SDValue Op, unsigned X86CC, const SDLoc &dl,
22978+ static SDValue EmitTest(SDValue Op, X86::CondCode X86CC, const SDLoc &dl,
2297922979 SelectionDAG &DAG, const X86Subtarget &Subtarget) {
2298022980 // CF and OF aren't always set the way we want. Determine which
2298122981 // of these we need.
@@ -23085,7 +23085,7 @@ static SDValue EmitTest(SDValue Op, unsigned X86CC, const SDLoc &dl,
2308523085
2308623086/// Emit nodes that will be selected as "cmp Op0,Op1", or something
2308723087/// equivalent.
23088- static SDValue EmitCmp(SDValue Op0, SDValue Op1, unsigned X86CC,
23088+ static SDValue EmitCmp(SDValue Op0, SDValue Op1, X86::CondCode X86CC,
2308923089 const SDLoc &dl, SelectionDAG &DAG,
2309023090 const X86Subtarget &Subtarget) {
2309123091 if (isNullConstant(Op1))
0 commit comments