[llvm] r294451 - Fix test to work on swift/cyclone too

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 06:23:30 PST 2017


Author: rovka
Date: Wed Feb  8 08:23:30 2017
New Revision: 294451

URL: http://llvm.org/viewvc/llvm-project?rev=294451&view=rev
Log:
Fix test to work on swift/cyclone too

I forgot to remove the neonfp target feature from the test, which means we'd
have trouble selecting VADDS on targets that have neonfp enabled by default.

Modified:
    llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir

Modified: llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir?rev=294451&r1=294450&r2=294451&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir (original)
+++ llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir Wed Feb  8 08:23:30 2017
@@ -13,7 +13,7 @@
 
   define void @test_load_from_stack() { ret void }
 
-  attributes #0 = { "target-features"="+vfp2" }
+  attributes #0 = { "target-features"="+vfp2,-neonfp" }
 ...
 ---
 name:            test_zext_s1




More information about the llvm-commits mailing list