diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-19 21:29:21 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-19 21:29:21 +0000 |
commit | 551a3d7b56653f4f69e2b757a4df9189ce796545 (patch) | |
tree | f00a9b29f6619541e61a6dcfaf06da180bad0861 /test/CodeGen/PowerPC/fnabs.ll | |
parent | 1d142d4d4761937f36687f075090b94520e01f8e (diff) |
[PowerPC] Clean up -mattr=+vsx tests to always specify -mcpu
We recently discovered an issue that reinforces what a good idea it is
to always specify -mcpu in our code generation tests, particularly for
-mattr=+vsx. This patch ensures that all tests that specify
-mattr=+vsx also specify -mcpu=pwr7 or -mcpu=pwr8, as appropriate.
Some of the uses of -mattr=+vsx added recently don't make much sense
(when specified for -mtriple=powerpc-apple-darwin8 or -march=ppc32,
for example). For cases like this I've just removed the extra VSX
test commands; there's enough coverage without them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/fnabs.ll')
-rw-r--r-- | test/CodeGen/PowerPC/fnabs.ll | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/fnabs.ll b/test/CodeGen/PowerPC/fnabs.ll index 0e5c7a7c417..fc6a04e0094 100644 --- a/test/CodeGen/PowerPC/fnabs.ll +++ b/test/CodeGen/PowerPC/fnabs.ll @@ -1,5 +1,4 @@ ; RUN: llc < %s -mattr=-vsx -march=ppc32 | grep fnabs -; RUN: llc < %s -mattr=+vsx -march=ppc32 | grep xsnabsdp declare double @fabs(double) |