aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Blackfin/i56param.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 17:32:10 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 17:32:10 +0000
commitd950941e138455ebcd7a5f55805dcb977892e3e3 (patch)
treef9732e3dd797f8f76f0c886f57f295daeb1f1a92 /test/CodeGen/Blackfin/i56param.ll
parent4ea480499c40cd7e28bf35cacda33ccbab2aab07 (diff)
downloadexternal_llvm-d950941e138455ebcd7a5f55805dcb977892e3e3.zip
external_llvm-d950941e138455ebcd7a5f55805dcb977892e3e3.tar.gz
external_llvm-d950941e138455ebcd7a5f55805dcb977892e3e3.tar.bz2
Analog Devices Blackfin back-end.
Generate code for the Blackfin family of DSPs from Analog Devices: http://www.analog.com/en/embedded-processing-dsp/blackfin/processors/index.html We aim to be compatible with the exsisting GNU toolchain found at: http://blackfin.uclinux.org/gf/project/toolchain The back-end is experimental. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Blackfin/i56param.ll')
-rw-r--r--test/CodeGen/Blackfin/i56param.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/i56param.ll b/test/CodeGen/Blackfin/i56param.ll
new file mode 100644
index 0000000..a03c182
--- /dev/null
+++ b/test/CodeGen/Blackfin/i56param.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs
+@i56_l = external global i56 ; <i56*> [#uses=1]
+@i56_s = external global i56 ; <i56*> [#uses=1]
+
+define void @i56_ls(i56 %x) nounwind {
+ store i56 %x, i56* @i56_s
+ ret void
+}