[Diffusion] rG825235c140e7: Revert "[Sema] Use the canonical type in function isVector"

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 15:57:02 PDT 2020


ahatanak added a comment.

Can we change the element type of the vector to `_Float16`?

`typedef __attribute__((neon_vector_type(4))) _Float16 float16x4_t;`

It seems that the original plan discussed on llvm-dev (http://lists.llvm.org/pipermail/cfe-dev/2017-May/053768.html) was to introduce `_Float16` and use it instead of `__fp16` for ARMv8.2-A, but the subsequent patches that were committed are making NeonEmitter.cpp emit typedefs of vectors that have `__fp16` as the element type.


BRANCHES
  master, release/10.x

Users:
  ahatanak (Author)

https://reviews.llvm.org/rG825235c140e7





More information about the cfe-commits mailing list