From 7c0fa0cfab496f9ef0ea8249149a17979dca13d7 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 11 Aug 2014 19:04:28 +0000 Subject: [PATCH] Correct a missing RUN line in the ARM codegen test for fneg ops. We should also explicitly specify +/-neonfp. The bug was introduced at r99570 when use of "-arm-use-neon-fp" was removed. Differential Revision: http://reviews.llvm.org/D4846 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215377 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/fnegs.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/ARM/fnegs.ll b/test/CodeGen/ARM/fnegs.ll index 36af8352433..99146b923a4 100644 --- a/test/CodeGen/ARM/fnegs.ll +++ b/test/CodeGen/ARM/fnegs.ll @@ -1,9 +1,12 @@ ; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - \ ; RUN: | FileCheck %s -check-prefix=VFP2 -; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - \ +; RUN: llc -mtriple=arm-eabi -mattr=+neon,-neonfp %s -o - \ ; RUN: | FileCheck %s -check-prefix=NFP0 +; RUN: llc -mtriple=arm-eabi -mattr=+neon,+neonfp %s -o - \ +; RUN: | FileCheck %s -check-prefix=NFP1 + ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - \ ; RUN: | FileCheck %s -check-prefix=CORTEXA8