linux-packaging-mono/external/llvm/test/CodeGen/Thumb2/ifcvt-neon-deprecated.mir
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

55 lines
1.3 KiB
YAML

# RUN: llc -mtriple=thumbv7 -start-before=if-converter -o - %s | FileCheck %s
---
name: NeonVdupMul
body: |
bb.0:
successors: %bb.2, %bb.1
liveins: %d0, %r0, %r1
t2CMPri killed %r1, 0, 14, %noreg, implicit-def %cpsr
t2Bcc %bb.2, 0, killed %cpsr
bb.1:
liveins: %d0, %r0
%d16 = VDUP32d killed %r0, 14, %noreg
; Verify that the neon instructions haven't been conditionalized:
; CHECK-LABEL: NeonVdupMul
; CHECK: vdup.32
; CHECK: vmul.i32
%d0 = VMULv2i32 killed %d16, killed %d0, 14, %noreg
bb.2:
liveins: %d0
tBX_RET 14, %noreg, implicit %d0
...
---
name: NeonVmovVfpLdr
body: |
bb.0.entry:
successors: %bb.1, %bb.2
liveins: %r0, %r1
t2CMPri killed %r1, 0, 14, %noreg, implicit-def %cpsr
t2Bcc %bb.2, 1, killed %cpsr
bb.1:
%d0 = VMOVv2i32 0, 14, %noreg
tBX_RET 14, %noreg, implicit %d0
bb.2:
liveins: %r0
%d0 = VLDRD killed %r0, 0, 14, %noreg
; Verify that the neon instruction VMOVv2i32 hasn't been conditionalized,
; but the VLDR instruction that is available both in the VFP and Advanced
; SIMD extensions has.
; CHECK-LABEL: NeonVmovVfpLdr
; CHECK-DAG: vmov.i32 d0, #0x0
; CHECK-DAG: vldr{{ne|eq}} d0, [r0]
tBX_RET 14, %noreg, implicit %d0
...