We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78550be commit 225e270Copy full SHA for 225e270
llvm/test/CodeGen/PowerPC/intrinsic-trap.ll
@@ -0,0 +1,10 @@
1
+; REQUIRES: asserts
2
+; RUN: not --crash llc -verify-machineinstrs -mtriple=powerpc64le-- < %s 2>&1 | FileCheck %s
3
+; CHECK: Bad machine code: Non-terminator instruction after the first terminator
4
+
5
+define i32 @test() {
6
+ call void @llvm.trap()
7
+ ret i32 0
8
+}
9
10
+declare void @llvm.trap()
0 commit comments