diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-04-14 01:11:51 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-04-14 01:11:51 +0000 |
| commit | 7e07d6fb69bf52b45e1a0f790135bd4746d70194 (patch) | |
| tree | 1bcc827ee9abb95d2b51456cf3e9cca225b7e8fb /llvm/test/CodeGen/X86/fp-stack-compare.ll | |
| parent | 3563aa6520a7adc67d5a79917bef9a9ae1ccb111 (diff) | |
| download | bcm5719-llvm-7e07d6fb69bf52b45e1a0f790135bd4746d70194.tar.gz bcm5719-llvm-7e07d6fb69bf52b45e1a0f790135bd4746d70194.zip | |
Have the X86 back-end emit the alias instead of what's being aliased. In most
cases, it's much nicer and more informative reading the alias.
llvm-svn: 129497
Diffstat (limited to 'llvm/test/CodeGen/X86/fp-stack-compare.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/fp-stack-compare.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/X86/fp-stack-compare.ll b/llvm/test/CodeGen/X86/fp-stack-compare.ll index b216914d239..f3998b67f67 100644 --- a/llvm/test/CodeGen/X86/fp-stack-compare.ll +++ b/llvm/test/CodeGen/X86/fp-stack-compare.ll @@ -1,11 +1,11 @@ -; RUN: llc < %s -march=x86 -mcpu=i386 | grep {fucompi.*st.\[12\]} +; RUN: llc < %s -march=x86 -mcpu=i386 | FileCheck %s ; PR1012 define float @foo(float* %col.2.0) { - %tmp = load float* %col.2.0 ; <float> [#uses=3] - %tmp16 = fcmp olt float %tmp, 0.000000e+00 ; <i1> [#uses=1] - %tmp20 = fsub float -0.000000e+00, %tmp ; <float> [#uses=1] - %iftmp.2.0 = select i1 %tmp16, float %tmp20, float %tmp ; <float> [#uses=1] - ret float %iftmp.2.0 +; CHECK: fucompi + %tmp = load float* %col.2.0 + %tmp16 = fcmp olt float %tmp, 0.000000e+00 + %tmp20 = fsub float -0.000000e+00, %tmp + %iftmp.2.0 = select i1 %tmp16, float %tmp20, float %tmp + ret float %iftmp.2.0 } - |

