forked from OSchip/llvm-project
Unbreak Windows build
Without the llvm_unreachable, Windows complains about not returning a value from mlir::isSpeculatable on all paths. Differential Revision: https://reviews.llvm.org/D135899
This commit is contained in:
parent
4d95f74b13
commit
dde9db5f93
|
@ -55,4 +55,6 @@ bool mlir::isSpeculatable(Operation *op) {
|
||||||
case Speculation::NotSpeculatable:
|
case Speculation::NotSpeculatable:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
llvm_unreachable("Unhandled enum in mlir::isSpeculatable!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue