The getConstant function and related functions have their return type changed from SCEV to SCEVConstant. Within the semantics of the getConstant function, it is correct to return the SCEVConstant type. The same applies to the getZero, getOne, getMinusOne and getPowerOfTwo functions. For some files, I had to connect a ScalarEvolutionExpressions file. This is necessary for implicit casting from SCEVConstant to SCEV.
|60,070 ms||x64 debian > MLIR.Examples/standalone::test.toy|
Why is this overkill? The ScalarEvolutionExpression class contains a SCEVConstant class definition that defines the SCEVConstant class as inherit of the SCEV class. This information allows us to cast. Without connecting a class, it is impossible to make a cast.