Consteval loop vars if possible
Created by: tnguyen-ornl
-
Refactor the
evaluate_constant_integer_expression
util to allow for a safe (no throwing) check. -
Loop handler to check whether the loop bounds could be const-eval.
-> Fixed https://github.com/ORNL-QCI/qcor/issues/180: This will bypass the global memref
loading -> make the affine loop const at MLIR level -> enable unrolling at MLIR level.
- Add simple tests.