@@ -2944,7 +2944,7 @@ bool X86::isOffsetSuitableForCodeModel(int64_t Offset, CodeModel::Model CM,
2944
2944
}
2945
2945
2946
2946
/// Return true if the condition is an signed comparison operation.
2947
- static bool isX86CCSigned(unsigned X86CC) {
2947
+ static bool isX86CCSigned(X86::CondCode X86CC) {
2948
2948
switch (X86CC) {
2949
2949
default:
2950
2950
llvm_unreachable("Invalid integer condition!");
@@ -22975,7 +22975,7 @@ static bool isProfitableToUseFlagOp(SDValue Op) {
22975
22975
22976
22976
/// Emit nodes that will be selected as "test Op0,Op0", or something
22977
22977
/// equivalent.
22978
- static SDValue EmitTest(SDValue Op, unsigned X86CC, const SDLoc &dl,
22978
+ static SDValue EmitTest(SDValue Op, X86::CondCode X86CC, const SDLoc &dl,
22979
22979
SelectionDAG &DAG, const X86Subtarget &Subtarget) {
22980
22980
// CF and OF aren't always set the way we want. Determine which
22981
22981
// of these we need.
@@ -23085,7 +23085,7 @@ static SDValue EmitTest(SDValue Op, unsigned X86CC, const SDLoc &dl,
23085
23085
23086
23086
/// Emit nodes that will be selected as "cmp Op0,Op1", or something
23087
23087
/// equivalent.
23088
- static SDValue EmitCmp(SDValue Op0, SDValue Op1, unsigned X86CC,
23088
+ static SDValue EmitCmp(SDValue Op0, SDValue Op1, X86::CondCode X86CC,
23089
23089
const SDLoc &dl, SelectionDAG &DAG,
23090
23090
const X86Subtarget &Subtarget) {
23091
23091
if (isNullConstant(Op1))
0 commit comments