1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/test/MachineVerifier/test_g_ubfx_sbfx.mir
Jessica Paquette e1c3b00d6a Add missing -march to runline in llvm/test/MachineVerifier/test_g_ubfx_sbfx.mir
This can cause failures if built without a default target triple.
2021-03-24 11:23:08 -07:00

16 lines
585 B
YAML

# RUN: not --crash llc -march=arm64 -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# REQUIRES: aarch64-registered-target
name: test
body: |
bb.0:
%v1:_(<2 x s64>) = G_IMPLICIT_DEF
%v2:_(<2 x s64>) = G_IMPLICIT_DEF
%v3:_(<2 x s64>) = G_IMPLICIT_DEF
; CHECK: *** Bad machine code: Bitfield extraction is not supported on vectors ***
%ubfx_vector:_(<2 x s64>) = G_UBFX %v1, %v2, %v3
; CHECK: *** Bad machine code: Bitfield extraction is not supported on vectors ***
%sbfx_vector:_(<2 x s64>) = G_SBFX %v1, %v2, %v3
...