• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -march=mips -mcpu=mips32r6 -mattr=+micromips %s -start-after=xray-instrumentation -o - -show-mc-encoding | FileCheck %s
2
3# Test that the 'sll $zero, $zero, 0' is correctly recognized as a real
4# instruction rather than some unimplemented opcode for the purposes of
5# encoding an instruction.
6
7# CHECK-LABEL: a:
8# CHECK:  nop                           # encoding: [0x00,0x00,0x00,0x00]
9# CHECK:  jrc   $ra                     # encoding: [0x45,0xbf]
10---
11name:            a
12alignment:       2
13exposesReturnsTwice: false
14legalized:       false
15regBankSelected: false
16selected:        false
17tracksRegLiveness: false
18registers:
19liveins:
20  - { reg: '$a0', virtual-reg: '' }
21frameInfo:
22  isFrameAddressTaken: false
23  isReturnAddressTaken: false
24  hasStackMap:     false
25  hasPatchPoint:   false
26  stackSize:       0
27  offsetAdjustment: 0
28  maxAlignment:    1
29  adjustsStack:    false
30  hasCalls:        false
31  stackProtector:  ''
32  maxCallFrameSize: 0
33  hasOpaqueSPAdjustment: false
34  hasVAStart:      false
35  hasMustTailInVarArgFunc: false
36  savePoint:       ''
37  restorePoint:    ''
38fixedStack:
39stack:
40constants:
41body:             |
42  bb.0.entry:
43    $zero = SLL_MMR6 killed $zero, 0
44    JRC16_MM undef $ra, implicit $v0
45
46...
47