summaryrefslogtreecommitdiffstats
path: root/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll')
-rw-r--r--test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll b/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
new file mode 100644
index 0000000..7aced66
--- /dev/null
+++ b/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
@@ -0,0 +1,10 @@
+; RUN: opt < %s -sccp -disable-output
+; PR4277
+
+define i32 @main() nounwind {
+entry:
+ %0 = tail call signext i8 (...)* @sin() nounwind
+ ret i32 0
+}
+
+declare signext i8 @sin(...)