diff options
| author | Olivier Sallenave <ohsallen@us.ibm.com> | 2015-04-09 17:55:26 +0000 |
|---|---|---|
| committer | Olivier Sallenave <ohsallen@us.ibm.com> | 2015-04-09 17:55:26 +0000 |
| commit | 53703d0862c1454c222157e5d557b1053016e4c2 (patch) | |
| tree | 448c452f8581832a50e929ce2149faeb5d01828c /llvm/test/CodeGen/PowerPC/fma-ext.ll | |
| parent | 91d85dc6bc2fa2837b74fe05443824df7cdde6bd (diff) | |
| download | bcm5719-llvm-53703d0862c1454c222157e5d557b1053016e4c2.tar.gz bcm5719-llvm-53703d0862c1454c222157e5d557b1053016e4c2.zip | |
Refactoring and enhancement to FMA combine.
llvm-svn: 234513
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fma-ext.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/fma-ext.ll | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fma-ext.ll b/llvm/test/CodeGen/PowerPC/fma-ext.ll index 56825ce8f22..9ab32a659cb 100644 --- a/llvm/test/CodeGen/PowerPC/fma-ext.ll +++ b/llvm/test/CodeGen/PowerPC/fma-ext.ll @@ -65,13 +65,11 @@ define double @test_FMSUB_EXT3(float %A, float %B, double %C) { %G = fsub double %F, %C ; <double> [#uses=1] ret double %G ; CHECK-LABEL: test_FMSUB_EXT3: -; CHECK: fneg -; CHECK-NEXT: fmsub +; CHECK: fnmadd ; CHECK-NEXT: blr ; CHECK-VSX-LABEL: test_FMSUB_EXT3: -; CHECK-VSX: xsnegdp -; CHECK-VSX-NEXT: xsmsubmdp +; CHECK-VSX: xsnmaddmdp ; CHECK-VSX-NEXT: blr } @@ -82,12 +80,10 @@ define double @test_FMSUB_EXT4(float %A, float %B, double %C) { %G = fsub double %F, %C ; <double> [#uses=1] ret double %G ; CHECK-LABEL: test_FMSUB_EXT4: -; CHECK: fneg -; CHECK-NEXT: fmsub +; CHECK: fnmadd ; CHECK-NEXT: blr ; CHECK-VSX-LABEL: test_FMSUB_EXT4: -; CHECK-VSX: xsnegdp -; CHECK-VSX-NEXT: xsmsubmdp +; CHECK-VSX: xsnmaddmdp ; CHECK-VSX-NEXT: blr -}
\ No newline at end of file +} |

