[PATCH] fix ARM test case - missing and incomplete RUN lines

Sanjay Patel spatel at rotateright.com
Mon Aug 11 10:56:26 PDT 2014


Hi asl, rengolin,

This patch corrects 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.

http://reviews.llvm.org/D4846

Files:
  test/CodeGen/ARM/fnegs.ll

Index: test/CodeGen/ARM/fnegs.ll
===================================================================
--- test/CodeGen/ARM/fnegs.ll
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4846.12351.patch
Type: text/x-patch
Size: 645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140811/d299dd05/attachment.bin>


More information about the llvm-commits mailing list