brintos

brintos / llvm-project-archived public Read only

0
0
Text · 22.2 KiB · b321a6f Raw
849 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=mips-mti-linux-gnu -mattr=+micromips -o - %s -start-before mips-delay-slot-filler -stop-after mips-branch-expansion | FileCheck %s --check-prefix=MM3# RUN: llc -mtriple=mips-mti-linux-gnu -mattr=+micromips -o - %s -start-before mips-delay-slot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC4 5# Test the long branch expansion of various branches6 7--- |8  define void @expand_BEQ_MM(i1 %a) {9    br i1 %a, label %iftrue, label %tail10 11  iftrue:12    call void asm sideeffect ".space 131068", ""()13    br label %tail14 15  tail:16    ret void17  }18 19  define void @expand_BGEZ_MM(i1 %a) {20    br i1 %a, label %iftrue, label %tail21 22  iftrue:23    call void asm sideeffect ".space 131068", ""()24    br label %tail25 26  tail:27    ret void28  }29 30  define void @expand_BGTZ_MM(i1 %a) {31    br i1 %a, label %iftrue, label %tail32 33  iftrue:34    call void asm sideeffect ".space 131068", ""()35    br label %tail36 37  tail:38    ret void39  }40 41  define void @expand_BLEZ_MM(i1 %a) {42    br i1 %a, label %iftrue, label %tail43 44  iftrue:45    call void asm sideeffect ".space 131068", ""()46    br label %tail47 48  tail:49    ret void50  }51 52  define void @expand_BLTZ_MM(i1 %a) {53    br i1 %a, label %iftrue, label %tail54 55  iftrue:56    call void asm sideeffect ".space 131068", ""()57    br label %tail58 59  tail:60    ret void61  }62 63  define void @expand_BNE_MM(i1 %a) {64    br i1 %a, label %iftrue, label %tail65 66  iftrue:67    call void asm sideeffect ".space 131068", ""()68    br label %tail69 70  tail:71    ret void72  }73 74  define void @expand_BEQZ16_MM(i1 %a) {75    br i1 %a, label %iftrue, label %tail76 77  iftrue:78    call void asm sideeffect ".space 131068", ""()79    br label %tail80 81  tail:82    ret void83  }84 85  define void @expand_BNEZ16_MM(i1 %a) {86    br i1 %a, label %iftrue, label %tail87 88  iftrue:89    call void asm sideeffect ".space 131068", ""()90    br label %tail91 92  tail:93    ret void94  }95 96...97---98 99name:            expand_BEQ_MM100alignment:       4101exposesReturnsTwice: false102legalized:       false103regBankSelected: false104selected:        false105failedISel:      false106tracksRegLiveness: true107registers:108liveins:109  - { reg: '$a0', virtual-reg: '' }110frameInfo:111  isFrameAddressTaken: false112  isReturnAddressTaken: false113  hasStackMap:     false114  hasPatchPoint:   false115  stackSize:       0116  offsetAdjustment: 0117  maxAlignment:    1118  adjustsStack:    false119  hasCalls:        false120  stackProtector:  ''121  maxCallFrameSize: 0122  hasOpaqueSPAdjustment: false123  hasVAStart:      false124  hasMustTailInVarArgFunc: false125  localFrameSize:  0126  savePoint:       []127  restorePoint:    []128fixedStack:129stack:130constants:131body:             |132  ; MM-LABEL: name: expand_BEQ_MM133  ; MM: bb.0 (%ir-block.0):134  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)135  ; MM:   renamable $at = ANDi killed renamable $a0, 1136  ; MM:   BNEZC_MM $at, %bb.2, implicit-def $at137  ; MM: bb.1 (%ir-block.0):138  ; MM:   successors: %bb.3(0x80000000)139  ; MM:   J %bb.3, implicit-def $at {140  ; MM:     $zero = SLL_MM $zero, 0141  ; MM:   }142  ; MM: bb.2.iftrue:143  ; MM:   successors: %bb.3(0x80000000)144  ; MM:   INLINEASM &".space 131068", 1145  ; MM: bb.3.tail:146  ; MM:   JRC16_MM undef $ra147  ; PIC-LABEL: name: expand_BEQ_MM148  ; PIC: bb.0 (%ir-block.0):149  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)150  ; PIC:   renamable $at = ANDi killed renamable $a0, 1151  ; PIC:   BNEZC_MM $at, %bb.3, implicit-def $at152  ; PIC: bb.1 (%ir-block.0):153  ; PIC:   successors: %bb.2(0x80000000)154  ; PIC:   $sp = ADDiu $sp, -8155  ; PIC:   SW $ra, $sp, 0156  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2157  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {158  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2159  ; PIC:   }160  ; PIC: bb.2 (%ir-block.0):161  ; PIC:   successors: %bb.4(0x80000000)162  ; PIC:   $at = ADDu $ra, $at163  ; PIC:   $ra = LW $sp, 0164  ; PIC:   JR $at {165  ; PIC:     $sp = ADDiu $sp, 8166  ; PIC:   }167  ; PIC: bb.3.iftrue:168  ; PIC:   successors: %bb.4(0x80000000)169  ; PIC:   INLINEASM &".space 131068", 1170  ; PIC: bb.4.tail:171  ; PIC:   JRC16_MM undef $ra172  bb.0 (%ir-block.0):173    successors: %bb.1(0x40000000), %bb.2(0x40000000)174    liveins: $a0175 176    renamable $at = ANDi killed renamable $a0, 1177    BEQ_MM killed renamable $at, $zero, %bb.2, implicit-def $at178 179  bb.1.iftrue:180    successors: %bb.2(0x80000000)181 182    INLINEASM &".space 131068", 1183 184  bb.2.tail:185    PseudoReturn undef $ra186 187...188---189 190name:            expand_BGEZ_MM191alignment:       4192exposesReturnsTwice: false193legalized:       false194regBankSelected: false195selected:        false196failedISel:      false197tracksRegLiveness: true198registers:199liveins:200  - { reg: '$a0', virtual-reg: '' }201frameInfo:202  isFrameAddressTaken: false203  isReturnAddressTaken: false204  hasStackMap:     false205  hasPatchPoint:   false206  stackSize:       0207  offsetAdjustment: 0208  maxAlignment:    1209  adjustsStack:    false210  hasCalls:        false211  stackProtector:  ''212  maxCallFrameSize: 0213  hasOpaqueSPAdjustment: false214  hasVAStart:      false215  hasMustTailInVarArgFunc: false216  localFrameSize:  0217  savePoint:       []218  restorePoint:    []219fixedStack:220stack:221constants:222body:             |223  ; MM-LABEL: name: expand_BGEZ_MM224  ; MM: bb.0 (%ir-block.0):225  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)226  ; MM:   renamable $at = ANDi killed renamable $a0, 1227  ; MM:   BLTZ_MM $at, %bb.2, implicit-def $at {228  ; MM:     $zero = SLL_MM $zero, 0229  ; MM:   }230  ; MM: bb.1 (%ir-block.0):231  ; MM:   successors: %bb.3(0x80000000)232  ; MM:   J %bb.3, implicit-def $at {233  ; MM:     $zero = SLL_MM $zero, 0234  ; MM:   }235  ; MM: bb.2.iftrue:236  ; MM:   successors: %bb.3(0x80000000)237  ; MM:   INLINEASM &".space 131068", 1238  ; MM: bb.3.tail:239  ; MM:   JRC16_MM undef $ra240  ; PIC-LABEL: name: expand_BGEZ_MM241  ; PIC: bb.0 (%ir-block.0):242  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)243  ; PIC:   renamable $at = ANDi killed renamable $a0, 1244  ; PIC:   BLTZ_MM $at, %bb.3, implicit-def $at {245  ; PIC:     $zero = SLL_MM $zero, 0246  ; PIC:   }247  ; PIC: bb.1 (%ir-block.0):248  ; PIC:   successors: %bb.2(0x80000000)249  ; PIC:   $sp = ADDiu $sp, -8250  ; PIC:   SW $ra, $sp, 0251  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2252  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {253  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2254  ; PIC:   }255  ; PIC: bb.2 (%ir-block.0):256  ; PIC:   successors: %bb.4(0x80000000)257  ; PIC:   $at = ADDu $ra, $at258  ; PIC:   $ra = LW $sp, 0259  ; PIC:   JR $at {260  ; PIC:     $sp = ADDiu $sp, 8261  ; PIC:   }262  ; PIC: bb.3.iftrue:263  ; PIC:   successors: %bb.4(0x80000000)264  ; PIC:   INLINEASM &".space 131068", 1265  ; PIC: bb.4.tail:266  ; PIC:   JRC16_MM undef $ra267  bb.0 (%ir-block.0):268    successors: %bb.1(0x40000000), %bb.2(0x40000000)269    liveins: $a0270 271    renamable $at = ANDi killed renamable $a0, 1272    BGEZ_MM killed renamable $at, %bb.2, implicit-def $at273 274  bb.1.iftrue:275    successors: %bb.2(0x80000000)276 277    INLINEASM &".space 131068", 1278 279  bb.2.tail:280    PseudoReturn undef $ra281 282...283---284 285name:            expand_BGTZ_MM286alignment:       4287exposesReturnsTwice: false288legalized:       false289regBankSelected: false290selected:        false291failedISel:      false292tracksRegLiveness: true293registers:294liveins:295  - { reg: '$a0', virtual-reg: '' }296frameInfo:297  isFrameAddressTaken: false298  isReturnAddressTaken: false299  hasStackMap:     false300  hasPatchPoint:   false301  stackSize:       0302  offsetAdjustment: 0303  maxAlignment:    1304  adjustsStack:    false305  hasCalls:        false306  stackProtector:  ''307  maxCallFrameSize: 0308  hasOpaqueSPAdjustment: false309  hasVAStart:      false310  hasMustTailInVarArgFunc: false311  localFrameSize:  0312  savePoint:       []313  restorePoint:    []314fixedStack:315stack:316constants:317body:             |318  ; MM-LABEL: name: expand_BGTZ_MM319  ; MM: bb.0 (%ir-block.0):320  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)321  ; MM:   renamable $at = ANDi killed renamable $a0, 1322  ; MM:   BLEZ_MM $at, %bb.2, implicit-def $at {323  ; MM:     $zero = SLL_MM $zero, 0324  ; MM:   }325  ; MM: bb.1 (%ir-block.0):326  ; MM:   successors: %bb.3(0x80000000)327  ; MM:   J %bb.3, implicit-def $at {328  ; MM:     $zero = SLL_MM $zero, 0329  ; MM:   }330  ; MM: bb.2.iftrue:331  ; MM:   successors: %bb.3(0x80000000)332  ; MM:   INLINEASM &".space 131068", 1333  ; MM: bb.3.tail:334  ; MM:   JRC16_MM undef $ra335  ; PIC-LABEL: name: expand_BGTZ_MM336  ; PIC: bb.0 (%ir-block.0):337  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)338  ; PIC:   renamable $at = ANDi killed renamable $a0, 1339  ; PIC:   BLEZ_MM $at, %bb.3, implicit-def $at {340  ; PIC:     $zero = SLL_MM $zero, 0341  ; PIC:   }342  ; PIC: bb.1 (%ir-block.0):343  ; PIC:   successors: %bb.2(0x80000000)344  ; PIC:   $sp = ADDiu $sp, -8345  ; PIC:   SW $ra, $sp, 0346  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2347  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {348  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2349  ; PIC:   }350  ; PIC: bb.2 (%ir-block.0):351  ; PIC:   successors: %bb.4(0x80000000)352  ; PIC:   $at = ADDu $ra, $at353  ; PIC:   $ra = LW $sp, 0354  ; PIC:   JR $at {355  ; PIC:     $sp = ADDiu $sp, 8356  ; PIC:   }357  ; PIC: bb.3.iftrue:358  ; PIC:   successors: %bb.4(0x80000000)359  ; PIC:   INLINEASM &".space 131068", 1360  ; PIC: bb.4.tail:361  ; PIC:   JRC16_MM undef $ra362  bb.0 (%ir-block.0):363    successors: %bb.1(0x40000000), %bb.2(0x40000000)364    liveins: $a0365 366    renamable $at = ANDi killed renamable $a0, 1367    BGTZ_MM killed renamable $at, %bb.2, implicit-def $at368 369  bb.1.iftrue:370    successors: %bb.2(0x80000000)371 372    INLINEASM &".space 131068", 1373 374  bb.2.tail:375    PseudoReturn undef $ra376 377...378---379 380name:            expand_BLEZ_MM381alignment:       4382exposesReturnsTwice: false383legalized:       false384regBankSelected: false385selected:        false386failedISel:      false387tracksRegLiveness: true388registers:389liveins:390  - { reg: '$a0', virtual-reg: '' }391frameInfo:392  isFrameAddressTaken: false393  isReturnAddressTaken: false394  hasStackMap:     false395  hasPatchPoint:   false396  stackSize:       0397  offsetAdjustment: 0398  maxAlignment:    1399  adjustsStack:    false400  hasCalls:        false401  stackProtector:  ''402  maxCallFrameSize: 0403  hasOpaqueSPAdjustment: false404  hasVAStart:      false405  hasMustTailInVarArgFunc: false406  localFrameSize:  0407  savePoint:       []408  restorePoint:    []409fixedStack:410stack:411constants:412body:             |413  ; MM-LABEL: name: expand_BLEZ_MM414  ; MM: bb.0 (%ir-block.0):415  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)416  ; MM:   renamable $at = ANDi killed renamable $a0, 1417  ; MM:   BGTZ_MM $at, %bb.2, implicit-def $at {418  ; MM:     $zero = SLL_MM $zero, 0419  ; MM:   }420  ; MM: bb.1 (%ir-block.0):421  ; MM:   successors: %bb.3(0x80000000)422  ; MM:   J %bb.3, implicit-def $at {423  ; MM:     $zero = SLL_MM $zero, 0424  ; MM:   }425  ; MM: bb.2.iftrue:426  ; MM:   successors: %bb.3(0x80000000)427  ; MM:   INLINEASM &".space 131068", 1428  ; MM: bb.3.tail:429  ; MM:   JRC16_MM undef $ra430  ; PIC-LABEL: name: expand_BLEZ_MM431  ; PIC: bb.0 (%ir-block.0):432  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)433  ; PIC:   renamable $at = ANDi killed renamable $a0, 1434  ; PIC:   BGTZ_MM $at, %bb.3, implicit-def $at {435  ; PIC:     $zero = SLL_MM $zero, 0436  ; PIC:   }437  ; PIC: bb.1 (%ir-block.0):438  ; PIC:   successors: %bb.2(0x80000000)439  ; PIC:   $sp = ADDiu $sp, -8440  ; PIC:   SW $ra, $sp, 0441  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2442  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {443  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2444  ; PIC:   }445  ; PIC: bb.2 (%ir-block.0):446  ; PIC:   successors: %bb.4(0x80000000)447  ; PIC:   $at = ADDu $ra, $at448  ; PIC:   $ra = LW $sp, 0449  ; PIC:   JR $at {450  ; PIC:     $sp = ADDiu $sp, 8451  ; PIC:   }452  ; PIC: bb.3.iftrue:453  ; PIC:   successors: %bb.4(0x80000000)454  ; PIC:   INLINEASM &".space 131068", 1455  ; PIC: bb.4.tail:456  ; PIC:   JRC16_MM undef $ra457  bb.0 (%ir-block.0):458    successors: %bb.1(0x40000000), %bb.2(0x40000000)459    liveins: $a0460 461    renamable $at = ANDi killed renamable $a0, 1462    BLEZ_MM killed renamable $at, %bb.2, implicit-def $at463 464  bb.1.iftrue:465    successors: %bb.2(0x80000000)466 467    INLINEASM &".space 131068", 1468 469  bb.2.tail:470    PseudoReturn undef $ra471 472...473---474 475name:            expand_BLTZ_MM476alignment:       4477exposesReturnsTwice: false478legalized:       false479regBankSelected: false480selected:        false481failedISel:      false482tracksRegLiveness: true483registers:484liveins:485  - { reg: '$a0', virtual-reg: '' }486frameInfo:487  isFrameAddressTaken: false488  isReturnAddressTaken: false489  hasStackMap:     false490  hasPatchPoint:   false491  stackSize:       0492  offsetAdjustment: 0493  maxAlignment:    1494  adjustsStack:    false495  hasCalls:        false496  stackProtector:  ''497  maxCallFrameSize: 0498  hasOpaqueSPAdjustment: false499  hasVAStart:      false500  hasMustTailInVarArgFunc: false501  localFrameSize:  0502  savePoint:       []503  restorePoint:    []504fixedStack:505stack:506constants:507body:             |508  ; MM-LABEL: name: expand_BLTZ_MM509  ; MM: bb.0 (%ir-block.0):510  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)511  ; MM:   renamable $at = ANDi killed renamable $a0, 1512  ; MM:   BGEZ_MM $at, %bb.2, implicit-def $at {513  ; MM:     $zero = SLL_MM $zero, 0514  ; MM:   }515  ; MM: bb.1 (%ir-block.0):516  ; MM:   successors: %bb.3(0x80000000)517  ; MM:   J %bb.3, implicit-def $at {518  ; MM:     $zero = SLL_MM $zero, 0519  ; MM:   }520  ; MM: bb.2.iftrue:521  ; MM:   successors: %bb.3(0x80000000)522  ; MM:   INLINEASM &".space 131068", 1523  ; MM: bb.3.tail:524  ; MM:   JRC16_MM undef $ra525  ; PIC-LABEL: name: expand_BLTZ_MM526  ; PIC: bb.0 (%ir-block.0):527  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)528  ; PIC:   renamable $at = ANDi killed renamable $a0, 1529  ; PIC:   BGEZ_MM $at, %bb.3, implicit-def $at {530  ; PIC:     $zero = SLL_MM $zero, 0531  ; PIC:   }532  ; PIC: bb.1 (%ir-block.0):533  ; PIC:   successors: %bb.2(0x80000000)534  ; PIC:   $sp = ADDiu $sp, -8535  ; PIC:   SW $ra, $sp, 0536  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2537  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {538  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2539  ; PIC:   }540  ; PIC: bb.2 (%ir-block.0):541  ; PIC:   successors: %bb.4(0x80000000)542  ; PIC:   $at = ADDu $ra, $at543  ; PIC:   $ra = LW $sp, 0544  ; PIC:   JR $at {545  ; PIC:     $sp = ADDiu $sp, 8546  ; PIC:   }547  ; PIC: bb.3.iftrue:548  ; PIC:   successors: %bb.4(0x80000000)549  ; PIC:   INLINEASM &".space 131068", 1550  ; PIC: bb.4.tail:551  ; PIC:   JRC16_MM undef $ra552  bb.0 (%ir-block.0):553    successors: %bb.1(0x40000000), %bb.2(0x40000000)554    liveins: $a0555 556    renamable $at = ANDi killed renamable $a0, 1557    BLTZ_MM killed renamable $at, %bb.2, implicit-def $at558 559  bb.1.iftrue:560    successors: %bb.2(0x80000000)561 562    INLINEASM &".space 131068", 1563 564  bb.2.tail:565    PseudoReturn undef $ra566 567...568---569 570name:            expand_BNE_MM571alignment:       4572exposesReturnsTwice: false573legalized:       false574regBankSelected: false575selected:        false576failedISel:      false577tracksRegLiveness: true578registers:579liveins:580  - { reg: '$a0', virtual-reg: '' }581frameInfo:582  isFrameAddressTaken: false583  isReturnAddressTaken: false584  hasStackMap:     false585  hasPatchPoint:   false586  stackSize:       0587  offsetAdjustment: 0588  maxAlignment:    1589  adjustsStack:    false590  hasCalls:        false591  stackProtector:  ''592  maxCallFrameSize: 0593  hasOpaqueSPAdjustment: false594  hasVAStart:      false595  hasMustTailInVarArgFunc: false596  localFrameSize:  0597  savePoint:       []598  restorePoint:    []599fixedStack:600stack:601constants:602body:             |603  ; MM-LABEL: name: expand_BNE_MM604  ; MM: bb.0 (%ir-block.0):605  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)606  ; MM:   renamable $at = ANDi killed renamable $a0, 1607  ; MM:   BEQZC_MM $at, %bb.2, implicit-def $at608  ; MM: bb.1 (%ir-block.0):609  ; MM:   successors: %bb.3(0x80000000)610  ; MM:   J %bb.3, implicit-def $at {611  ; MM:     $zero = SLL_MM $zero, 0612  ; MM:   }613  ; MM: bb.2.iftrue:614  ; MM:   successors: %bb.3(0x80000000)615  ; MM:   INLINEASM &".space 131068", 1616  ; MM: bb.3.tail:617  ; MM:   JRC16_MM undef $ra618  ; PIC-LABEL: name: expand_BNE_MM619  ; PIC: bb.0 (%ir-block.0):620  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)621  ; PIC:   renamable $at = ANDi killed renamable $a0, 1622  ; PIC:   BEQZC_MM $at, %bb.3, implicit-def $at623  ; PIC: bb.1 (%ir-block.0):624  ; PIC:   successors: %bb.2(0x80000000)625  ; PIC:   $sp = ADDiu $sp, -8626  ; PIC:   SW $ra, $sp, 0627  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2628  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {629  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2630  ; PIC:   }631  ; PIC: bb.2 (%ir-block.0):632  ; PIC:   successors: %bb.4(0x80000000)633  ; PIC:   $at = ADDu $ra, $at634  ; PIC:   $ra = LW $sp, 0635  ; PIC:   JR $at {636  ; PIC:     $sp = ADDiu $sp, 8637  ; PIC:   }638  ; PIC: bb.3.iftrue:639  ; PIC:   successors: %bb.4(0x80000000)640  ; PIC:   INLINEASM &".space 131068", 1641  ; PIC: bb.4.tail:642  ; PIC:   JRC16_MM undef $ra643  bb.0 (%ir-block.0):644    successors: %bb.1(0x40000000), %bb.2(0x40000000)645    liveins: $a0646 647    renamable $at = ANDi killed renamable $a0, 1648    BNE_MM killed renamable $at, $zero, %bb.2, implicit-def $at649 650  bb.1.iftrue:651    successors: %bb.2(0x80000000)652 653    INLINEASM &".space 131068", 1654 655  bb.2.tail:656    PseudoReturn undef $ra657 658...659---660 661name:            expand_BEQZ16_MM662alignment:       4663exposesReturnsTwice: false664legalized:       false665regBankSelected: false666selected:        false667failedISel:      false668tracksRegLiveness: true669registers:670liveins:671  - { reg: '$a0', virtual-reg: '' }672frameInfo:673  isFrameAddressTaken: false674  isReturnAddressTaken: false675  hasStackMap:     false676  hasPatchPoint:   false677  stackSize:       0678  offsetAdjustment: 0679  maxAlignment:    1680  adjustsStack:    false681  hasCalls:        false682  stackProtector:  ''683  maxCallFrameSize: 0684  hasOpaqueSPAdjustment: false685  hasVAStart:      false686  hasMustTailInVarArgFunc: false687  localFrameSize:  0688  savePoint:       []689  restorePoint:    []690fixedStack:691stack:692constants:693body:             |694  ; MM-LABEL: name: expand_BEQZ16_MM695  ; MM: bb.0 (%ir-block.0):696  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)697  ; MM:   renamable $v0 = ANDi killed renamable $a0, 1698  ; MM:   BNEZ16_MM $v0, %bb.2, implicit-def $at {699  ; MM:     $zero = SLL_MM $zero, 0700  ; MM:   }701  ; MM: bb.1 (%ir-block.0):702  ; MM:   successors: %bb.3(0x80000000)703  ; MM:   J %bb.3, implicit-def $at {704  ; MM:     $zero = SLL_MM $zero, 0705  ; MM:   }706  ; MM: bb.2.iftrue:707  ; MM:   successors: %bb.3(0x80000000)708  ; MM:   INLINEASM &".space 131068", 1709  ; MM: bb.3.tail:710  ; MM:   JRC16_MM undef $ra711  ; PIC-LABEL: name: expand_BEQZ16_MM712  ; PIC: bb.0 (%ir-block.0):713  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)714  ; PIC:   renamable $v0 = ANDi killed renamable $a0, 1715  ; PIC:   BNEZ16_MM $v0, %bb.3, implicit-def $at {716  ; PIC:     $zero = SLL_MM $zero, 0717  ; PIC:   }718  ; PIC: bb.1 (%ir-block.0):719  ; PIC:   successors: %bb.2(0x80000000)720  ; PIC:   $sp = ADDiu $sp, -8721  ; PIC:   SW $ra, $sp, 0722  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2723  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {724  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2725  ; PIC:   }726  ; PIC: bb.2 (%ir-block.0):727  ; PIC:   successors: %bb.4(0x80000000)728  ; PIC:   $at = ADDu $ra, $at729  ; PIC:   $ra = LW $sp, 0730  ; PIC:   JR $at {731  ; PIC:     $sp = ADDiu $sp, 8732  ; PIC:   }733  ; PIC: bb.3.iftrue:734  ; PIC:   successors: %bb.4(0x80000000)735  ; PIC:   INLINEASM &".space 131068", 1736  ; PIC: bb.4.tail:737  ; PIC:   JRC16_MM undef $ra738  bb.0 (%ir-block.0):739    successors: %bb.1(0x40000000), %bb.2(0x40000000)740    liveins: $a0741 742    renamable $v0 = ANDi killed renamable $a0, 1743    BEQZ16_MM killed renamable $v0, %bb.2, implicit-def $at744 745  bb.1.iftrue:746    successors: %bb.2(0x80000000)747 748    INLINEASM &".space 131068", 1749 750  bb.2.tail:751    PseudoReturn undef $ra752 753...754---755 756name:            expand_BNEZ16_MM757alignment:       4758exposesReturnsTwice: false759legalized:       false760regBankSelected: false761selected:        false762failedISel:      false763tracksRegLiveness: true764registers:765liveins:766  - { reg: '$a0', virtual-reg: '' }767frameInfo:768  isFrameAddressTaken: false769  isReturnAddressTaken: false770  hasStackMap:     false771  hasPatchPoint:   false772  stackSize:       0773  offsetAdjustment: 0774  maxAlignment:    1775  adjustsStack:    false776  hasCalls:        false777  stackProtector:  ''778  maxCallFrameSize: 0779  hasOpaqueSPAdjustment: false780  hasVAStart:      false781  hasMustTailInVarArgFunc: false782  localFrameSize:  0783  savePoint:       []784  restorePoint:    []785fixedStack:786stack:787constants:788body:             |789  ; MM-LABEL: name: expand_BNEZ16_MM790  ; MM: bb.0 (%ir-block.0):791  ; MM:   successors: %bb.2(0x40000000), %bb.1(0x40000000)792  ; MM:   renamable $v0 = ANDi killed renamable $a0, 1793  ; MM:   BEQZ16_MM $v0, %bb.2, implicit-def $at {794  ; MM:     $zero = SLL_MM $zero, 0795  ; MM:   }796  ; MM: bb.1 (%ir-block.0):797  ; MM:   successors: %bb.3(0x80000000)798  ; MM:   J %bb.3, implicit-def $at {799  ; MM:     $zero = SLL_MM $zero, 0800  ; MM:   }801  ; MM: bb.2.iftrue:802  ; MM:   successors: %bb.3(0x80000000)803  ; MM:   INLINEASM &".space 131068", 1804  ; MM: bb.3.tail:805  ; MM:   JRC16_MM undef $ra806  ; PIC-LABEL: name: expand_BNEZ16_MM807  ; PIC: bb.0 (%ir-block.0):808  ; PIC:   successors: %bb.3(0x40000000), %bb.1(0x40000000)809  ; PIC:   renamable $v0 = ANDi killed renamable $a0, 1810  ; PIC:   BEQZ16_MM $v0, %bb.3, implicit-def $at {811  ; PIC:     $zero = SLL_MM $zero, 0812  ; PIC:   }813  ; PIC: bb.1 (%ir-block.0):814  ; PIC:   successors: %bb.2(0x80000000)815  ; PIC:   $sp = ADDiu $sp, -8816  ; PIC:   SW $ra, $sp, 0817  ; PIC:   $at = LONG_BRANCH_LUi target-flags(mips-abs-hi) %bb.4, %bb.2818  ; PIC:   BAL_BR_MM %bb.2, implicit-def $ra {819  ; PIC:     $at = LONG_BRANCH_ADDiu $at, target-flags(mips-abs-lo) %bb.4, %bb.2820  ; PIC:   }821  ; PIC: bb.2 (%ir-block.0):822  ; PIC:   successors: %bb.4(0x80000000)823  ; PIC:   $at = ADDu $ra, $at824  ; PIC:   $ra = LW $sp, 0825  ; PIC:   JR $at {826  ; PIC:     $sp = ADDiu $sp, 8827  ; PIC:   }828  ; PIC: bb.3.iftrue:829  ; PIC:   successors: %bb.4(0x80000000)830  ; PIC:   INLINEASM &".space 131068", 1831  ; PIC: bb.4.tail:832  ; PIC:   JRC16_MM undef $ra833  bb.0 (%ir-block.0):834    successors: %bb.1(0x40000000), %bb.2(0x40000000)835    liveins: $a0836 837    renamable $v0 = ANDi killed renamable $a0, 1838    BNEZ16_MM killed renamable $v0, %bb.2, implicit-def $at839 840  bb.1.iftrue:841    successors: %bb.2(0x80000000)842 843    INLINEASM &".space 131068", 1844 845  bb.2.tail:846    PseudoReturn undef $ra847 848...849