Given a cmpf of either uitofp or sitofp and a constant, attempt to canonicalize it to a cmpi.
This PR rewrites equivalent code within LLVM to now apply to MLIR arith.
Differential D117257
[MLIR][Arith] Canonicalize cmpf(int to fp) to cmpi wsmoses on Jan 13 2022, 3:03 PM. Authored by
Details Given a cmpf of either uitofp or sitofp and a constant, attempt to canonicalize it to a cmpi. This PR rewrites equivalent code within LLVM to now apply to MLIR arith.
Diff Detail
Event Timeline
Comment Actions Remove rdar
|