[MLIR] Simplify division extraction unit testing.
authorPrashant Kumar <pk5561@gmail.com>
Sun, 5 Dec 2021 15:40:41 +0000 (21:10 +0530)
committerPrashant Kumar <pk5561@gmail.com>
Tue, 7 Dec 2021 06:23:04 +0000 (11:53 +0530)
commit3415b1ca6380ca364dd1b1ceba3a8408552975e6
tree4c6fc5aef7a77db807ab81f3b52cc337a5bfa07b
parent37fbf238f4427b651a16956eca1cb0e2ab5cdbfd
[MLIR] Simplify division extraction unit testing.

The new `getLocalReprs` function also outputs `dividends` and
`denominators` and hence the CheckDivisionRepresentation fn is
modified to take the newer getLocalReprs function into account.

Signed-off-by: Prashant Kumar <pk5561@gmail.com>
Reviewed By: Groverkss

Differential Revision: https://reviews.llvm.org/D115146
mlir/unittests/Analysis/AffineStructuresTest.cpp