diff options
author | Lang Hames <lhames@gmail.com> | 2012-06-22 22:31:00 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-06-22 22:31:00 +0000 |
commit | 59d454959f36681dc1d68109012edc4cb019f351 (patch) | |
tree | 1daf51a793d6ff500cded1fde3cd8a7adbbbc717 | |
parent | 0cafa139c01aa9d5072b185d686a05b9d8ab1ee7 (diff) | |
download | external_llvm-59d454959f36681dc1d68109012edc4cb019f351.zip external_llvm-59d454959f36681dc1d68109012edc4cb019f351.tar.gz external_llvm-59d454959f36681dc1d68109012edc4cb019f351.tar.bz2 |
Rename fp-op fusion option (yet again) for compatibility with GCC option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159042 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/ARM/fusedMAC.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/a2-fp-basic.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/fma.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/ppc440-fp-basic.ll | 2 | ||||
-rw-r--r-- | tools/llc/llc.cpp | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/ARM/fusedMAC.ll b/test/CodeGen/ARM/fusedMAC.ll index 725dd27..d35330c 100644 --- a/test/CodeGen/ARM/fusedMAC.ll +++ b/test/CodeGen/ARM/fusedMAC.ll @@ -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) { diff --git a/test/CodeGen/PowerPC/a2-fp-basic.ll b/test/CodeGen/PowerPC/a2-fp-basic.ll index a4370fa..de3aa7c 100644 --- a/test/CodeGen/PowerPC/a2-fp-basic.ll +++ b/test/CodeGen/PowerPC/a2-fp-basic.ll @@ -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 } diff --git a/test/CodeGen/PowerPC/fma.ll b/test/CodeGen/PowerPC/fma.ll index 4e05c27..48d9eb9 100644 --- a/test/CodeGen/PowerPC/fma.ll +++ b/test/CodeGen/PowerPC/fma.ll @@ -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) { diff --git a/test/CodeGen/PowerPC/ppc440-fp-basic.ll b/test/CodeGen/PowerPC/ppc440-fp-basic.ll index 6884570..77b726c 100644 --- a/test/CodeGen/PowerPC/ppc440-fp-basic.ll +++ b/test/CodeGen/PowerPC/ppc440-fp-basic.ll @@ -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 } diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index e08bad9..44f83e1b 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -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)); |