Fix a FIXME about the format and add a test.
[oota-llvm.git] / test / Transforms / ConstProp / bitcast.ll
index bf943c971f3ae0e546d01f579ab3b6dc0a6b723c..53239c7e4fe08e80bc9a2f360a1fd807a24b2372 100644 (file)
@@ -1,2 +1,10 @@
-; RUN: llvm-as < %s | llvm-dis | grep 0x36A0000000000000
-@A = global float 0x36A0000000000000            ; <float*> [#uses=0]
+; RUN: opt < %s -constprop -S | FileCheck %s
+; PR2165
+
+define <1 x i64> @test1() {
+  %A = bitcast i64 63 to <1 x i64>
+  ret <1 x i64> %A
+; CHECK: @test1
+; CHECK: ret <1 x i64> <i64 63>
+}
+