diff options
Diffstat (limited to 'llvm/test/CodeGen/Alpha/neg1.ll')
-rw-r--r-- | llvm/test/CodeGen/Alpha/neg1.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Alpha/neg1.ll b/llvm/test/CodeGen/Alpha/neg1.ll new file mode 100644 index 00000000000..e8e50860bbe --- /dev/null +++ b/llvm/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 +} |