diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-11-20 19:07:03 +0100 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-11-20 19:08:27 +0100 |
| commit | ac37755c60ba19103f08f04d07ca8f1d640153d6 (patch) | |
| tree | 2d20e243b4dabdfebb7503b7ec142c1dc835733a /llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll | |
| parent | e74b326b1f506538f1fce11b7a70bcf7fb9b573c (diff) | |
| download | bcm5719-llvm-ac37755c60ba19103f08f04d07ca8f1d640153d6.tar.gz bcm5719-llvm-ac37755c60ba19103f08f04d07ca8f1d640153d6.zip | |
[SystemZ] Use fneg in test cases
Now that we have fneg, prefer using it over "fsub -0.0, ...".
This helps in particular with strict FP tests, as fneg does
not raise any exceptions.
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll')
| -rw-r--r-- | llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll b/llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll index fc9c1575952..d2341c32374 100644 --- a/llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll +++ b/llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll @@ -25,7 +25,7 @@ define <2 x double> @f5(<2 x double> %dummy, <2 x double> %val1, ; CHECK-LABEL: f5: ; CHECK: vfmsdb %v24, %v26, %v28, %v30 ; CHECK: br %r14 - %negval3 = fsub <2 x double> <double -0.0, double -0.0>, %val3 + %negval3 = fneg <2 x double> %val3 %ret = call <2 x double> @llvm.experimental.constrained.fma.v2f64 ( <2 x double> %val1, <2 x double> %val2, |

