[PATCH] D101130: [PowerPC] Provide XL-compatible builtins in altivec.h

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 23 06:47:27 PDT 2021


cebowleratibm accepted this revision.
cebowleratibm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/test/CodeGen/builtins-ppc-xlcompat.c:2
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
+  // RUN:   -triple powerpc64-unknown-unknown -emit-llvm %s -o - \
----------------
Suggest adding an explicit -mcpu.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101130



More information about the cfe-commits mailing list