1 # RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -start-before=postrapseudos %s -o - \
4 # Check that integer load and test instructions are not emitted for unsigned
5 # comparisons unless checking for equality. That would be wrong, since the
6 # operands are implicitly treated as signed values.
8 # Not legal: Logical comparison used for >= (CCMask is 10).
13 tracksRegLiveness: true
17 renamable $r0l = L $r1d, 0, $noreg
18 CLFIMux renamable $r0l, 0, implicit-def $cc
19 BRC 14, 10, %bb.2, implicit $cc
23 ST renamable $r0l, $r15d, 164, $noreg
27 ST killed renamable $r0l, $r15d, 164, $noreg
31 # Legal: Logical comparison used for == (CCMask is 8).
36 tracksRegLiveness: true
40 renamable $r0l = L $r1d, 0, $noreg
41 CLFIMux renamable $r0l, 0, implicit-def $cc
42 BRC 14, 8, %bb.2, implicit $cc
46 ST renamable $r0l, $r15d, 164, $noreg
50 ST killed renamable $r0l, $r15d, 164, $noreg