new testcase

llvm-svn: 26906
diff --git a/llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll b/llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll
new file mode 100644
index 0000000..c4d8f97
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll
@@ -0,0 +1,9 @@
+; Should fold the ori into the lfs.
+; RUN: llvm-as < %s | llc -march=ppc32 | grep lfs &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep ori
+
+float %test() {
+  %tmp.i = load float* cast (uint 186018016 to float*)
+  ret float %tmp.i
+}
+