| # RUN: llc -mtriple=s390x-linux-gnu -mcpu=z10 -no-integrated-as -start-after=block-placement %s -o - | FileCheck %s |
| # Test that LTEBR is used without an unnecessary LER |
| define float @f15(float %val, float %dummy, float* %dest) { |
| call void asm sideeffect "blah $0", "{f2}"(float %val) |
| %cmp = fcmp olt float %val, 0.000000e+00 |
| br i1 %cmp, label %exit, label %store |
| store float %val, float* %dest |
| exit: ; preds = %store, %entry |
| - { reg: '$f0s', virtual-reg: '' } |
| - { reg: '$r2d', virtual-reg: '' } |
| LTEBRCompare $f0s, $f0s, implicit-def $cc, implicit $fpc |
| INLINEASM &"blah $0", 1, 9, $f2s |
| CondReturn 15, 4, implicit $f0s, implicit $cc |
| STE $f0s, killed $r2d, 0, $noreg :: (store 4 into %ir.dest) |