diff options
author | Duncan Sands <baldrick@free.fr> | 2008-06-21 17:00:47 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-06-21 17:00:47 +0000 |
commit | a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11 (patch) | |
tree | 58c308504951707b34e5c134a623de7686f7b075 /test | |
parent | 4c8c83022b501759d8559e224c84ae2a9921ba41 (diff) | |
download | external_llvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.zip external_llvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.tar.gz external_llvm-a1ace76c70ae5332d6f33fce5c0c1e2fdb8cca11.tar.bz2 |
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.ll | 10 |
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 0000000..92b5ca2 --- /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 +} |