We always assume mixed same type values. Instead of ExtF or ExtSI, we
need SIToFp when the values must be promoted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! Just one comments. THank!
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
---|---|---|
2753–2763 | Could you please also add an extra condition to these if statements to make sure that both dst and src have the expected type? IIUC, we were incorrectly going through one of them and not hitting the assert below. |
Could you please also add an extra condition to these if statements to make sure that both dst and src have the expected type? IIUC, we were incorrectly going through one of them and not hitting the assert below.