[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-10-04 Thread Lei Huang via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG8b3d944a97cc: [PowerPC] Disable vector types when not supported by subtarget features (authored by lei). Repository: rG LLVM Github Monorepo

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-10-04 Thread Lei Huang via Phabricator via cfe-commits
lei updated this revision to Diff 376969. lei added a comment. address line comment and update tc to reflect new behaviour. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109178/new/ https://reviews.llvm.org/D109178 Files:

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-30 Thread Amy Kwan via Phabricator via cfe-commits
amyk accepted this revision. amyk added a comment. Overall LGTM. Comment at: clang/test/CodeGen/builtins-ppc-int128.c:7 +// RUN: -triple powerpc64le-unknown-unknown -target-cpu pwr8 \ +// RUN: -emit-llvm %s -o - -U__XL_COMPAT_ALTIVEC__ | FileCheck %s

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-28 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai accepted this revision. nemanjai added a comment. This revision is now accepted and ready to land. LGTM. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109178/new/ https://reviews.llvm.org/D109178

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-27 Thread Lei Huang via Phabricator via cfe-commits
lei updated this revision to Diff 375360. lei added a comment. Address review comments and add handling for vector long types without vsx. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109178/new/ https://reviews.llvm.org/D109178 Files:

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-07 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai added a comment. It is not clear what this patch will do with `vector [[un]signed] long`. This is currently deprecated but still works - and we don't want it to work with no VSX. Comment at: clang/lib/Headers/altivec.h:8881 } #endif This file is

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-07 Thread Lei Huang via Phabricator via cfe-commits
lei added inline comments. Comment at: clang/test/CodeGen/builtins-ppc-int128.c:4 +// RUN: -triple powerpc64-unknown-unknown -target-cpu pwr8 \ +// RUN: -emit-llvm %s -o - -U__XL_COMPAT_ALTIVEC__ | FileCheck %s +// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-03 Thread Victor Huang via Phabricator via cfe-commits
NeHuang added inline comments. Comment at: clang/test/CodeGen/builtins-ppc-int128.c:4 +// RUN: -triple powerpc64-unknown-unknown -target-cpu pwr8 \ +// RUN: -emit-llvm %s -o - -U__XL_COMPAT_ALTIVEC__ | FileCheck %s +// RUN: %clang_cc1 -target-feature +altivec -target-feature

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-02 Thread Lei Huang via Phabricator via cfe-commits
lei updated this revision to Diff 370349. lei added a comment. fix spelling in commit message. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109178/new/ https://reviews.llvm.org/D109178 Files: clang/include/clang/Basic/DiagnosticSemaKinds.td

[PATCH] D109178: [PowerPC] Disable vector types when not supported by subtarget features

2021-09-02 Thread Lei Huang via Phabricator via cfe-commits
lei created this revision. lei added reviewers: hubert.reinterpretcast, nemanjai, power-llvm-team. Herald added a subscriber: shchenz. lei requested review of this revision. Herald added a project: clang. Update clang to treat vector unsigned long long and friends as invalid for AlttiVec without