[llvm] [mlir] eliminating g++ warnings (PR #105520)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 09:00:57 PDT 2024
================
@@ -594,6 +594,8 @@ static bool compareSameArgs(IndexCmpPredicate pred) {
case IndexCmpPredicate::ULT:
return false;
}
+ assert("unknown predicate in compareSameArgs" == nullptr);
----------------
arsenm wrote:
llvm_unreachable, and delete dead return
https://github.com/llvm/llvm-project/pull/105520
More information about the llvm-commits
mailing list