MLIR how to use JIT before lowering code


I want to lower high-level IR into lower-level based on some runtime information. I think JIT can help do that, right? Can anyone give me any resources about how to use JIT in MLIR to help me achieve my goal?

Thank you so much