mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Rename fp-op fusion option (yet again) for compatibility with GCC option.
llvm-svn: 159042
This commit is contained in:
parent
70a37b6a67
commit
7d298105e5
@ -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) {
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user