We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0bd378 commit bc54310Copy full SHA for bc54310
src/pass/lower_intrin.cc
@@ -193,7 +193,7 @@ class IntrinInjecter : public arith::IRMutatorWithAnalyzer {
193
using namespace arith;
194
PVar<Expr> x, y;
195
if ((floormod(x, y) != 0).Match(e)) {
196
- return Mutate((truncmod(x, y) == 0).Eval());
+ return Mutate((truncmod(x, y) != 0).Eval());
197
}
198
return IRMutatorWithAnalyzer::Mutate_(op, e);
199
0 commit comments