diff options
Diffstat (limited to 'test/CodeGen/Alpha/neg1.ll')
-rw-r--r-- | test/CodeGen/Alpha/neg1.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/neg1.ll b/test/CodeGen/Alpha/neg1.ll new file mode 100644 index 0000000..037e3a2 --- /dev/null +++ b/test/CodeGen/Alpha/neg1.ll @@ -0,0 +1,9 @@ +; Make sure this testcase codegens to the lda -1 instruction +; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep {\\-1} + +implementation ; Functions: + +long %bar() { +entry: + ret long -1 +} |