[PATCH] D120395: [X86] Prohibit arithmetic operations on type `__bfloat16`

Andy Kaylor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 25 11:07:05 PST 2022


andrew.w.kaylor added a comment.

In D120395#3344890 <https://reviews.llvm.org/D120395#3344890>, @pengfei wrote:

> Disscussed with GCC folks. We think it's better to use the same way as D120411 <https://reviews.llvm.org/D120411> that replacing it with short int.

Which GCC folks did you discuss it with? I ask because GCC currently considers __m128bh and __m128i to be incompatible types, which is what I would expect: https://godbolt.org/z/z9nefbrEc


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120395/new/

https://reviews.llvm.org/D120395



More information about the cfe-commits mailing list