From 941a3244ffe0fbed51f977ace7358fbf5c924479 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Sun, 19 Oct 2014 21:29:21 +0000 Subject: [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. llvm-svn: 220173 --- llvm/test/CodeGen/PowerPC/fp_to_uint.ll | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/test/CodeGen/PowerPC/fp_to_uint.ll') diff --git a/llvm/test/CodeGen/PowerPC/fp_to_uint.ll b/llvm/test/CodeGen/PowerPC/fp_to_uint.ll index 21a1b7f0d69..187d2d6ee1e 100644 --- a/llvm/test/CodeGen/PowerPC/fp_to_uint.ll +++ b/llvm/test/CodeGen/PowerPC/fp_to_uint.ll @@ -1,5 +1,4 @@ ; RUN: llc < %s -mattr=-vsx -march=ppc32 | grep fctiwz | count 1 -; RUN: llc < %s -mattr=+vsx -march=ppc32 | grep xscvdpsxws | count 1 define i16 @foo(float %a) { -- cgit v1.2.3