Rename fp-op fusion option (yet again) for compatibility with GCC option.
authorLang Hames <lhames@gmail.com>
Fri, 22 Jun 2012 22:31:00 +0000 (22:31 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 22 Jun 2012 22:31:00 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159042 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/fusedMAC.ll
test/CodeGen/PowerPC/a2-fp-basic.ll
test/CodeGen/PowerPC/fma.ll
test/CodeGen/PowerPC/ppc440-fp-basic.ll
tools/llc/llc.cpp

index 725dd274e3729cbfcdff379bec7af5f1f9d079d8..d35330c09f5f00f39e196c10963fe2e5965ccde9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=armv7-eabi -mattr=+neon,+vfp4 -fuse-fp-ops=fast | FileCheck %s
+; RUN: llc < %s -mtriple=armv7-eabi -mattr=+neon,+vfp4 -fp-contract=fast | FileCheck %s
 ; Check generated fused MAC and MLS.
 
 define double @fusedMACTest1(double %d1, double %d2, double %d3) {
index a4370fa452a17a213ccc6d622c9d649ac3516f5b..de3aa7c31766bc18e67a54e212efc67cc087d44d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc64 -mcpu=a2 -fuse-fp-ops=fast | FileCheck %s
+; RUN: llc < %s -march=ppc64 -mcpu=a2 -fp-contract=fast | FileCheck %s
 
 %0 = type { double, double }
 
index 4e05c279b79ab393060bc482e3e23c1dd0cd75af..48d9eb93c31e9f25237df94d35ceca207f61263a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -fuse-fp-ops=fast | \
+; RUN: llc < %s -march=ppc32 -fp-contract=fast | \
 ; RUN:   egrep {fn?madd|fn?msub} | count 8
 
 define double @test_FMADD1(double %A, double %B, double %C) {
index 6884570a8aa69f31d421c8bbdafcb13687730c8c..77b726c5ae3819734f8b05701f15540ed17c0a1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -mcpu=440 -fuse-fp-ops=fast | FileCheck %s
+; RUN: llc < %s -march=ppc32 -mcpu=440 -fp-contract=fast | FileCheck %s
 
 %0 = type { double, double }
 
index e08bad93b07d125e4ea96da39f243e7f8bd0f063..44f83e1b30770922ee34c481a5dcc7bcc8387c56 100644 (file)
@@ -195,15 +195,15 @@ FloatABIForCalls("float-abi",
     clEnumValEnd));
 
 static cl::opt<llvm::FPOpFusion::FPOpFusionMode>
-FuseFPOps("fuse-fp-ops",
+FuseFPOps("fp-contract",
   cl::desc("Enable aggresive formation of fused FP ops"),
   cl::init(FPOpFusion::Standard),
   cl::values(
     clEnumValN(FPOpFusion::Fast, "fast",
                "Fuse FP ops whenever profitable"),
-    clEnumValN(FPOpFusion::Standard, "standard",
+    clEnumValN(FPOpFusion::Standard, "on",
                "Only fuse 'blessed' FP ops."),
-    clEnumValN(FPOpFusion::Strict, "strict",
+    clEnumValN(FPOpFusion::Strict, "off",
                "Only fuse FP ops when the result won't be effected."),
     clEnumValEnd));