summaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon/isel-i1arg-crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Hexagon/isel-i1arg-crash.ll')
-rw-r--r--test/CodeGen/Hexagon/isel-i1arg-crash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Hexagon/isel-i1arg-crash.ll b/test/CodeGen/Hexagon/isel-i1arg-crash.ll
new file mode 100644
index 0000000000000..7e8bd9e93b276
--- /dev/null
+++ b/test/CodeGen/Hexagon/isel-i1arg-crash.ll
@@ -0,0 +1,6 @@
+; RUN: llc -march=hexagon -debug-only=isel < %s
+; REQUIRES: asserts
+
+define void @g(i1 %cond) {
+ ret void
+}