[PATCH] D106120: [PowerPC] Implement vector bool/pixel initialization under -faltivec-src-compat=xl

Daniel Kolesa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 15 14:47:54 PST 2021


q66 added a comment.

Hi,

this warning also affects GCC-style vectors:

e.g.

  typedef int myivec __attribute__((vector_size(16));
  typedef float myfvec __attribute__((vector_size(16));
  const myvec ret = (myfvec1 == myfvec2); // will issue a warning

Should it? This means different semantics between targets without explicitly using AltiVec vectors.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106120



More information about the cfe-commits mailing list