• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mcpu=zEC12 -o - %s | FileCheck %s
3
4target triple = "s390x-ibm-linux"
5
6define <2 x float> @pr32505(<2 x i8> * %a) {
7; CHECK-LABEL: pr32505:
8; CHECK:       # %bb.0:
9; CHECK-NEXT:    lbh %r0, 1(%r2)
10; CHECK-NEXT:    lbh %r1, 0(%r2)
11; CHECK-NEXT:    ldgr %f0, %r1
12; CHECK-NEXT:    ldgr %f2, %r0
13; CHECK-NEXT:    # kill: def $f0s killed $f0s killed $f0d
14; CHECK-NEXT:    # kill: def $f2s killed $f2s killed $f2d
15; CHECK-NEXT:    br %r14
16  %L17 = load <2 x i8>, <2 x i8>* %a
17  %Se21 = sext <2 x i8> %L17 to <2 x i32>
18  %BC = bitcast <2 x i32> %Se21 to <2 x float>
19  ret <2 x float> %BC
20}
21