diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-08 16:46:44 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-08 16:46:44 +0000 |
commit | b8a5d63b187b411e8bc9703233ee42d6ccd05f6c (patch) | |
tree | 977cb1981381b4f0c0e7506e1198e9d03d14f6d6 /test/CodeGen/Alpha/neg1.ll | |
parent | 6dcceb5ecbff459c3e6e30f459f49d2b90696da4 (diff) | |
download | external_llvm-b8a5d63b187b411e8bc9703233ee42d6ccd05f6c.zip external_llvm-b8a5d63b187b411e8bc9703233ee42d6ccd05f6c.tar.gz external_llvm-b8a5d63b187b411e8bc9703233ee42d6ccd05f6c.tar.bz2 |
added some tests to check stupid pattern matching mistakes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21154 91177308-0d34-0410-b5e6-96231b3b80d8
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..5d6ccd0 --- /dev/null +++ b/test/CodeGen/Alpha/neg1.ll @@ -0,0 +1,9 @@ +; Make sure this testcase codegens to the lda -1 instruction +; RUN: llvm-as < %s | llc -march=alpha | grep '-1' + +implementation ; Functions: + +long %bar() { +entry: + ret long -1 +} |