brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 1886c5e Raw
43 lines · plain
1#RUN: not --crash llc -mtriple=aarch64 -o /dev/null -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name:            test_constant6legalized:       true7regBankSelected: false8selected:        false9tracksRegLiveness: true10liveins:11body:             |12  bb.0:13   ; CHECK: Bad machine code: Instruction cannot use a vector result type14   ; CHECK: Bad machine code: inconsistent constant size15    %0:_(<2 x s32>) = G_CONSTANT i32 016 17    ; CHECK: Bad machine code: Too few operands18    %1:_(s32) = G_CONSTANT19 20    ; Not a cimm21    ; CHECK: Bad machine code:  G_CONSTANT operand must be cimm22    %2:_(s32) = G_CONSTANT 023 24    ; Not a cimm25    ; CHECK: Bad machine code:  G_CONSTANT operand must be cimm26    %3:_(s32) = G_CONSTANT float 1.027 28    ;  Size is bigger than result29    ; CHECK: Bad machine code: inconsistent constant size30    %4:_(s32) = G_CONSTANT i64 031 32    ; Size is smaller than result33    ; CHECK: Bad machine code: inconsistent constant size34    %4:_(s32) = G_CONSTANT i16 035 36    ; CHECK: Bad machine code: inconsistent constant size37    %5:_(p0) = G_CONSTANT i32 038 39    ; CHECK: Bad machine code: inconsistent constant size40    %6:_(p0) = G_CONSTANT i128 041 42...43