Easiest instruction ever!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277225
91177308-0d34-0410-b5e6-
96231b3b80d8
case Instruction::Alloca:
return translateStaticAlloca(cast<AllocaInst>(Inst));
+ case Instruction::Unreachable:
+ return true;
+
default:
llvm_unreachable("Opcode not supported");
}
call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec, <8 x i8> %vec, i8* %ptr)
ret void
}
+
+
+; CHECK-LABEL: name: unreachable
+; CHECK: G_ADD
+; CHECK-NEXT: {{^$}}
+; CHECK-NEXT: ...
+define void @unreachable(i32 %a) {
+ %sum = add i32 %a, %a
+ unreachable
+}