Fix "incorrect" assertions in Linalg/EDSC/Builders.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Fri, 30 Oct 2020 05:16:59 +0000 (05:16 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Fri, 30 Oct 2020 05:16:59 +0000 (05:16 +0000)
commitc23cb8b032eb926f1d9c96c1415d6efd305eb59a
tree5b52ee7567bb6f054bf0d8f23c336c097d287d9d
parent19dc6ec957d4993c0bd89bdb8c31f3cfc52a491b
Fix "incorrect" assertions in Linalg/EDSC/Builders.cpp (NFC)

It is semantically equivalent, but the intent was really lost there.
This fixes a warning/error from MSVC as well, see PR48013
mlir/lib/Dialect/Linalg/EDSC/Builders.cpp