diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-09 18:29:32 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-09 18:29:32 +0000 |
| commit | 1c842716943d9843574775d3571e966eb91d24fa (patch) | |
| tree | 526e09077b53e8641300febb15f881590be33365 /llvm/test/CodeGen/PowerPC/fma-ext.ll | |
| parent | 1355c047ab0001e6c237bb4f29d756fa6e847246 (diff) | |
| download | bcm5719-llvm-1c842716943d9843574775d3571e966eb91d24fa.tar.gz bcm5719-llvm-1c842716943d9843574775d3571e966eb91d24fa.zip | |
Revert "Refactoring and enhancement to FMA combine."
This reverts commit r234513. It was failing on the bots.
llvm-svn: 234518
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fma-ext.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/fma-ext.ll | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fma-ext.ll b/llvm/test/CodeGen/PowerPC/fma-ext.ll index 9ab32a659cb..56825ce8f22 100644 --- a/llvm/test/CodeGen/PowerPC/fma-ext.ll +++ b/llvm/test/CodeGen/PowerPC/fma-ext.ll @@ -65,11 +65,13 @@ 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: fnmadd +; CHECK: fneg +; CHECK-NEXT: fmsub ; CHECK-NEXT: blr ; CHECK-VSX-LABEL: test_FMSUB_EXT3: -; CHECK-VSX: xsnmaddmdp +; CHECK-VSX: xsnegdp +; CHECK-VSX-NEXT: xsmsubmdp ; CHECK-VSX-NEXT: blr } @@ -80,10 +82,12 @@ 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: fnmadd +; CHECK: fneg +; CHECK-NEXT: fmsub ; CHECK-NEXT: blr ; CHECK-VSX-LABEL: test_FMSUB_EXT4: -; CHECK-VSX: xsnmaddmdp +; CHECK-VSX: xsnegdp +; CHECK-VSX-NEXT: xsmsubmdp ; CHECK-VSX-NEXT: blr -} +}
\ No newline at end of file |

