summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/cconv/pr33883.ll
blob: 54d7286ab8ffffed14fa0cf86a1b43ee09fa8c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -march=mips -mcpu=mips32 < %s -o /dev/null

; Test that calls to vector intrinsics do not crash SelectionDAGBuilder.

define <4 x float> @_ZN4simd3foo17hebb969c5fb39a194E(<4 x float>) {
start:
  %1 = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %0)

  ret <4 x float> %1
}

declare <4 x float> @llvm.sqrt.v4f32(<4 x float>)
OpenPOWER on IntegriCloud