brintos

brintos / llvm-project-archived public Read only

0
0
Text · 694 B · c63f992 Raw
30 lines · plain
1# RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s2 3--- |4  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"5 6  define void @hint() { ret void }7...8 9---10# Check that we select a 'hint' intrinsic into a HINT instruction.11# CHECK-LABEL: name: hint12name:            hint13legalized:       true14regBankSelected: true15 16# CHECK:      registers:17# CHECK-NEXT:  - { id: 0, class: gpr, preferred-register: '', flags: [  ] }18registers:19  - { id: 0, class: gpr }20 21# CHECK:  body:22# CHECK:    HINT 123body:             |24  bb.0:25    liveins: $w026 27    %0(s32) = G_CONSTANT i32 128    G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.aarch64.hint), %029...30