diff options
| author | Nadav Rotem <nrotem@apple.com> | 2013-04-12 21:15:03 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2013-04-12 21:15:03 +0000 |
| commit | 87a0af6e1b46abd3efa4ceb70186f6af5bc22c13 (patch) | |
| tree | 05adc2f493baff34f624811be5dcf634a567a5e7 /llvm/test/Analysis | |
| parent | 4da0ab1d6873333bc5a73b62a7f19a62770703e3 (diff) | |
| download | bcm5719-llvm-87a0af6e1b46abd3efa4ceb70186f6af5bc22c13.tar.gz bcm5719-llvm-87a0af6e1b46abd3efa4ceb70186f6af5bc22c13.zip | |
CostModel: increase the default cost of supported floating point operations from 1 to two. Fixed a few tests that changes because now the cost of one insert + a vector operation on two doubles is lower than two scalar operations on doubles.
llvm-svn: 179413
Diffstat (limited to 'llvm/test/Analysis')
| -rw-r--r-- | llvm/test/Analysis/CostModel/X86/arith.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Analysis/CostModel/X86/arith.ll b/llvm/test/Analysis/CostModel/X86/arith.ll index 85b442533f4..92f5a1ec3a0 100644 --- a/llvm/test/Analysis/CostModel/X86/arith.ll +++ b/llvm/test/Analysis/CostModel/X86/arith.ll @@ -66,9 +66,9 @@ define void @avx2mull() { ; CHECK: fmul define i32 @fmul(i32 %arg) { - ;CHECK: cost of 1 {{.*}} fmul + ;CHECK: cost of 2 {{.*}} fmul %A = fmul <4 x float> undef, undef - ;CHECK: cost of 1 {{.*}} fmul + ;CHECK: cost of 2 {{.*}} fmul %B = fmul <8 x float> undef, undef ret i32 undef } |

