diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-14 16:17:49 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-14 16:17:49 +0000 |
commit | 80563ff1a520653391742e206e94d6a3a0e7de41 (patch) | |
tree | f85c43de5cd3d78c508d0df6fb4b48e8834a6d47 /test | |
parent | 1ce0c015ad0b40acf05bb7a006469a0169a44ff8 (diff) |
added a random and mask test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Alpha/zapnot2.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/zapnot2.ll b/test/CodeGen/Alpha/zapnot2.ll new file mode 100644 index 00000000000..342c269cde8 --- /dev/null +++ b/test/CodeGen/Alpha/zapnot2.ll @@ -0,0 +1,10 @@ +; Make sure this testcase codegens to the zapnot instruction +; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' + +implementation ; Functions: + +long %bar(long %x) { +entry: + %tmp.1 = and long %x, 255 ; <long> [#uses=1] + ret long %tmp.2 +} |