X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fintrinsics.ll;h=9e7dc6d4102e4bec718de256c88682eb3ea4ceb6;hb=9a419f656e278b96e9dfe739cd63c7bff9a4e1fd;hp=c4e3db6174a6716a1f994a8c18d6c5b0225c5218;hpb=ddbc274169ed4ee0e0ac32ed194b925a180202fe;p=oota-llvm.git diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll index c4e3db6174a..9e7dc6d4102 100644 --- a/test/Feature/intrinsics.ll +++ b/test/Feature/intrinsics.ll @@ -1,6 +1,7 @@ ; RUN: llvm-as < %s | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll +; RUN: FileCheck %s < %t1.ll declare i1 @llvm.isunordered.f32(float, float) @@ -58,3 +59,12 @@ define void @libm() { } ; FIXME: test ALL the intrinsics in this file. + +; rdar://11542750 +; CHECK: declare void @llvm.trap() noreturn nounwind +declare void @llvm.trap() + +define void @trap() { + call void @llvm.trap() + ret void +}