diff options
Diffstat (limited to 'test/CodeGen/Blackfin/add.ll')
-rw-r--r-- | test/CodeGen/Blackfin/add.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/add.ll b/test/CodeGen/Blackfin/add.ll new file mode 100644 index 0000000..267f309 --- /dev/null +++ b/test/CodeGen/Blackfin/add.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs +define i32 @add(i32 %A, i32 %B) { + %R = add i32 %A, %B ; <i32> [#uses=1] + ret i32 %R +} |