summaryrefslogtreecommitdiff
path: root/test
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
commita1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11 (patch)
tree58c308504951707b34e5c134a623de7686f7b075 /test
parent4c8c83022b501759d8559e224c84ae2a9921ba41 (diff)
downloadllvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.tar.gz
llvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.tar.bz2
llvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll b/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll
new file mode 100644
index 0000000000..92b5ca26b2
--- /dev/null
+++ b/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
+}