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 36f98f5 commit f6ae41eCopy full SHA for f6ae41e
lib/polygeist/Ops.cpp
@@ -2329,7 +2329,7 @@ class SelectOfExt final : public OpRewritePattern<arith::SelectOp> {
2329
2330
auto fitsIn = [&](auto i, int width) {
2331
// if there is nothing in the bits that would be discarded
2332
- return !((~((static_cast<typeof i>(1) << width) - 1)) & i);
+ return !((~((static_cast<decltype(i)>(1) << width) - 1)) & i);
2333
};
2334
2335
// Truncate the other non-extended const but only if the original constant
0 commit comments