Skip to content

Commit d7c7e22

Browse files
committed
fixed pylint errors in python files and used clang format to format the cpp files
1 parent 3534623 commit d7c7e22

File tree

3 files changed

+100
-100
lines changed

3 files changed

+100
-100
lines changed

include/tvm/tir/transform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ TVM_DLL Pass InstrumentProfileIntrinsics();
835835
TVM_DLL Pass DefaultGPUSchedule();
836836

837837
/*!
838-
* \brief This pass analyzes primfunc and eliminates branch introdued due to layout specific padding.
838+
* \brief This pass analyzes primfunc & eliminates branch introdued due to layout specific padding.
839839
* It leverages from the buffer assumptions and use the information to eliminate the branch.
840840
* \note This creates more opportunity to vectorize the code.
841841
* \return The Pass.

src/tir/transforms/using_assume_to_reduce_branches.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class ParseAssumeAndOvercompute : public IRMutatorWithAnalyzer {
8888
for (...)
8989
T.assume( assume_condition or A[i] == 0 )
9090
for (...)
91-
out = T.if_then_else(if_then_else_condition, 0, function(A))
91+
out = T.if_then_else(if_then_else_condition, 0, function(A))
9292
# here function(A) is some function on Var A
9393
9494
Prim Func After :

0 commit comments

Comments
 (0)