Skip to content

Commit 748e320

Browse files
authored
remove dead code in jitlayers (#44599)
1 parent 1fae9fa commit 748e320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jitlayers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ void JuliaOJIT::OptSelLayerT::emit(std::unique_ptr<orc::MaterializationResponsib
509509
StringRef val = attr.getValueAsString();
510510
if (val != "") {
511511
size_t ol = (size_t)val[0] - '0';
512-
if (ol >= 0 && ol < optlevel)
512+
if (ol < optlevel)
513513
optlevel = ol;
514514
}
515515
}

0 commit comments

Comments
 (0)