[Mlir-commits] [mlir] [MLIR][Types] add isFloat() to Type class (PR #88926)

Scott Manley llvmlistbot at llvm.org
Wed Apr 17 06:17:32 PDT 2024


rscottmanley wrote:

> I'm not convinced float should be privileged like this. This also introduces a different way to query the same info as already have via the isa/dyn_cast etc queries.

Are you saying none of the current queries in the Type class should exist? All that's really being done here is adding a specific function for isFloat() that's already implied by the existing isSignlessIntOrIndexOrFloat() or isIntOrFloat() etc

https://github.com/llvm/llvm-project/pull/88926


More information about the Mlir-commits mailing list