[PATCH] Activate Altivec "vector bool long long" for Power

hfinkel at anl.gov hfinkel at anl.gov
Wed Jan 28 15:53:47 PST 2015


vector bool long long requires VSX, right? If so, we need to check for vsx support for it, and update the tests as appropriate.


================
Comment at: /home/seurer/llvm/llvm-checkin/tools/clang/lib/Sema/DeclSpec.cpp:1000
@@ -998,3 +999,3 @@
         Diag(D, TSWLoc, diag::err_invalid_vector_long_double_decl_spec);
       else if (!PP.getTargetInfo().hasFeature("vsx"))
         Diag(D, TSTLoc, diag::err_invalid_vector_double_decl_spec);
----------------
Note: We have some vsx-predicated type checking here.

http://reviews.llvm.org/D7235

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list