35 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=mips-mti-linux-gnu < %s --show-mc-encoding | FileCheck %s --check-prefix=MTI3; RUN: llc -mtriple=mips-mti-linux-gnu -mattr=+micromips < %s --show-mc-encoding | FileCheck %s --check-prefix=MM4; RUN: llc -mtriple=mips-img-linux-gnu < %s --show-mc-encoding | FileCheck %s --check-prefix=IMG5; RUN: llc -mtriple=mips-img-linux-gnu -mattr=+micromips < %s --show-mc-encoding | FileCheck %s --check-prefix=MMR66 7define void @test() noreturn nounwind {8; MTI-LABEL: test:9; MTI: # %bb.0: # %entry10; 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: # %entry16; 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: # %entry21; 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: # %entry27; 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 void32}33 34declare void @llvm.trap() nounwind35