Testcase that failed due to a legalizer bug
authorChris Lattner <sabre@nondot.org>
Mon, 23 Jan 2006 07:30:14 +0000 (07:30 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Jan 2006 07:30:14 +0000 (07:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25537 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/SparcV8/2006-01-22-BitConvertLegalize.ll [new file with mode: 0644]

diff --git a/test/CodeGen/SparcV8/2006-01-22-BitConvertLegalize.ll b/test/CodeGen/SparcV8/2006-01-22-BitConvertLegalize.ll
new file mode 100644 (file)
index 0000000..23ae0e4
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc -march=sparcv8
+
+void %execute_list() {
+       %tmp.33.i = div float 0.000000e+00, 0.000000e+00                ; <float> [#uses=1]
+       %tmp.37.i = mul float 0.000000e+00, %tmp.33.i           ; <float> [#uses=1]
+       %tmp.42.i = add float %tmp.37.i, 0.000000e+00           ; <float> [#uses=1]
+       call void %gl_EvalCoord1f( float %tmp.42.i )
+       ret void
+}
+
+declare void %gl_EvalCoord1f( float)
+