summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fp_to_uint.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fp_to_uint.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/fp_to_uint.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fp_to_uint.ll b/llvm/test/CodeGen/PowerPC/fp_to_uint.ll
index 1360b62d273..21a1b7f0d69 100644
--- a/llvm/test/CodeGen/PowerPC/fp_to_uint.ll
+++ b/llvm/test/CodeGen/PowerPC/fp_to_uint.ll
@@ -1,4 +1,6 @@
-; RUN: llc < %s -march=ppc32 | grep fctiwz | count 1
+; 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) {
entry:
OpenPOWER on IntegriCloud