summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/trap-crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/trap-crash.ll')
-rw-r--r--llvm/test/CodeGen/Hexagon/trap-crash.ll20
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/test/CodeGen/Hexagon/trap-crash.ll b/llvm/test/CodeGen/Hexagon/trap-crash.ll
deleted file mode 100644
index e940d98b620..00000000000
--- a/llvm/test/CodeGen/Hexagon/trap-crash.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: llc -march=hexagon < %s | FileCheck %s
-
-; Generate code that is guaranteed to crash. At the moment, it's a
-; misaligned load.
-; CHECK: memd(##3134984174)
-
-target triple = "hexagon"
-
-; Function Attrs: noreturn nounwind
-define i32 @f0() #0 {
-entry:
- tail call void @llvm.trap()
- unreachable
-}
-
-; Function Attrs: cold noreturn nounwind
-declare void @llvm.trap() #1
-
-attributes #0 = { noreturn nounwind "target-cpu"="hexagonv60" }
-attributes #1 = { cold noreturn nounwind }
OpenPOWER on IntegriCloud