summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/getresult-undef.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/getresult-undef.ll')
-rw-r--r--test/CodeGen/Generic/getresult-undef.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/getresult-undef.ll b/test/CodeGen/Generic/getresult-undef.ll
new file mode 100644
index 0000000..c675535
--- /dev/null
+++ b/test/CodeGen/Generic/getresult-undef.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s
+
+define double @foo() {
+ %t = getresult {double, double} undef, 1
+ ret double %t
+}