28 lines · plain
1; RUN: llc < %s -mtriple=mips -mcpu=mips32 | FileCheck %s2; RUN: llc < %s -mtriple=mips -mcpu=mips32r3 -mattr=+micromips | FileCheck %s3; RUN: llc < %s -mtriple=mips -mattr=mips16 | FileCheck %s4 5; Verify that we emit the .insn directive for zero-sized (empty) basic blocks.6; This only really matters for microMIPS and MIPS16.7 8declare i32 @foo(...)9declare void @bar()10 11define void @main() personality ptr @foo {12entry:13 invoke void @bar() #014 to label %unreachable unwind label %return15 16unreachable:17; CHECK: {{.*}}: # %unreachable18; CHECK-NEXT: .insn19 unreachable20 21return:22 %0 = landingpad { ptr, i32 }23 catch ptr null24 ret void25}26 27attributes #0 = { noreturn }28