Home | History | Annotate | Download | only in GlobalISel
      1 # RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
      2 
      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: hint
     12 name:            hint
     13 legalized:       true
     14 regBankSelected: true
     15 
     16 # CHECK:      registers:
     17 # CHECK-NEXT:  - { id: 0, class: gpr, preferred-register: '' }
     18 registers:
     19   - { id: 0, class: gpr }
     20 
     21 # CHECK:  body:
     22 # CHECK:    HINT 1
     23 body:             |
     24   bb.0:
     25     liveins: $w0
     26 
     27     %0(s32) = G_CONSTANT i32 1
     28     G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.aarch64.hint), %0
     29 ...
     30