Skip to content

Commit e3692ef

Browse files
committed
lint
1 parent 76d6f47 commit e3692ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transform/annotate_warp_group_reg_alloc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SetMaxNRegInjector : public StmtExprMutator {
6464
static PrimFunc Inject(PrimFunc f) {
6565
auto T = SetMaxNRegInjector();
6666
T.nreg_ = SetMaxNRegCollector::Collect(f);
67-
if (T.nreg_.size() == 0) {
67+
if (T.nreg_.empty()) {
6868
return f;
6969
}
7070
f.CopyOnWrite()->body = T(f->body);

0 commit comments

Comments
 (0)