summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-06-21 17:00:47 +0000
committerDuncan Sands <baldrick@free.fr>2008-06-21 17:00:47 +0000
commit3bb89997190d5c894d2812bc9fcb9b46a5bc1cb4 (patch)
treed50b628e2db8cf42723e70ebce9a03a2a055f26f /llvm/test/CodeGen/PowerPC
parente6e1348275008e508190fd41aa015d1b176634aa (diff)
downloadbcm5719-llvm-3bb89997190d5c894d2812bc9fcb9b46a5bc1cb4.tar.gz
bcm5719-llvm-3bb89997190d5c894d2812bc9fcb9b46a5bc1cb4.zip
Support for load/store of expanded float types. I
don't know if a truncating store is possible here, but added support for it anyway. llvm-svn: 52577
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll b/llvm/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll
new file mode 100644
index 00000000000..92b5ca26b2e
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+@g = external global ppc_fp128
+@h = external global ppc_fp128
+
+define void @f() {
+ %tmp = load ppc_fp128* @g
+ store ppc_fp128 %tmp, ppc_fp128* @h
+ ret void
+}
OpenPOWER on IntegriCloud