Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp | ||
---|---|---|
501 | Good catch! | |
509 | oldBitWidth == 2 * newBitWidth. Because we mostly care about newBitWidth in the rest of the code and in the comments (e.g., narrower shift by >= newBitWidth are not legal), I think it's better to stay consistent an explain everything in terms of newBitWidth. |
are we sure the converted type will be a vector type? This is not consistent with other patterns that use dyn_cast_or_null?