HomePhabricator

[mlir] replace LLVM dialect float types with built-ins

Authored by ftynse on Jan 6 2021, 7:21 AM.

Description

[mlir] replace LLVM dialect float types with built-ins

Continue the convergence between LLVM dialect and built-in types by replacing
the bfloat, half, float and double LLVM dialect types with their built-in
counterparts. At the API level, this is a direct replacement. At the syntax
level, we change the keywords to bf16, f16, f32 and f64, respectively,
to be compatible with the built-in type syntax. The old keywords can still be
parsed but produce a deprecation warning and will be eventually removed.

Depends On D94178

Reviewed By: mehdi_amini, silvas, antiagainst

Differential Revision: https://reviews.llvm.org/D94179

Details

Committed
ftynseJan 8 2021, 8:38 AM
Reviewer
mehdi_amini
Differential Revision
D94179: [mlir] replace LLVM dialect float types with built-ins
Parents
rG2e1bb7940a4d: [clangd] Add missing "override" to fix the build.
Branches
Unknown
Tags
Unknown