1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc -mtriple=mips-mti-linux-gnu < %s --show-mc-encoding | FileCheck %s --check-prefix=MTI 3; RUN: llc -mtriple=mips-mti-linux-gnu -mattr=+micromips < %s --show-mc-encoding | FileCheck %s --check-prefix=MM 4; RUN: llc -mtriple=mips-img-linux-gnu < %s --show-mc-encoding | FileCheck %s --check-prefix=IMG 5; RUN: llc -mtriple=mips-img-linux-gnu -mattr=+micromips < %s --show-mc-encoding | FileCheck %s --check-prefix=MMR6 6 7define void @test() noreturn nounwind { 8; MTI-LABEL: test: 9; MTI: # %bb.0: # %entry 10; MTI-NEXT: break # encoding: [0x00,0x00,0x00,0x0d] 11; MTI-NEXT: jr $ra # encoding: [0x03,0xe0,0x00,0x08] 12; MTI-NEXT: nop # encoding: [0x00,0x00,0x00,0x00] 13; 14; MM-LABEL: test: 15; MM: # %bb.0: # %entry 16; MM-NEXT: break # encoding: [0x00,0x00,0x00,0x07] 17; MM-NEXT: jrc $ra # encoding: [0x45,0xbf] 18; 19; IMG-LABEL: test: 20; IMG: # %bb.0: # %entry 21; IMG-NEXT: break # encoding: [0x00,0x00,0x00,0x0d] 22; IMG-NEXT: jr $ra # encoding: [0x03,0xe0,0x00,0x08] 23; IMG-NEXT: nop # encoding: [0x00,0x00,0x00,0x00] 24; 25; MMR6-LABEL: test: 26; MMR6: # %bb.0: # %entry 27; MMR6-NEXT: break # encoding: [0x00,0x00,0x00,0x07] 28; MMR6-NEXT: jrc $ra # encoding: [0x45,0xbf] 29entry: 30 tail call void @llvm.trap( ) 31 ret void 32} 33 34declare void @llvm.trap() nounwind 35