diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-04 15:51:07 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-04 15:51:07 +0000 |
| commit | dd9d3ac72be2214e7d9b03cca1bd67f270bee3b2 (patch) | |
| tree | c9c479153ae2bb44b3e264b8a76f09b3d98a58b9 /llvm/test/Regression/CodeGen/Alpha/ctlz.ll | |
| parent | e84ee1bcd0537c6b6a520d2bff15c9ef6991b232 (diff) | |
| download | bcm5719-llvm-dd9d3ac72be2214e7d9b03cca1bd67f270bee3b2.tar.gz bcm5719-llvm-dd9d3ac72be2214e7d9b03cca1bd67f270bee3b2.zip | |
see if the legalize code propery compensates for the additional zeros introduced
llvm-svn: 21684
Diffstat (limited to 'llvm/test/Regression/CodeGen/Alpha/ctlz.ll')
| -rw-r--r-- | llvm/test/Regression/CodeGen/Alpha/ctlz.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Alpha/ctlz.ll b/llvm/test/Regression/CodeGen/Alpha/ctlz.ll new file mode 100644 index 00000000000..06255eca9ee --- /dev/null +++ b/llvm/test/Regression/CodeGen/Alpha/ctlz.ll @@ -0,0 +1,12 @@ +; Make sure this testcase codegens to the bic instruction +; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz' + +declare ubyte %llvm.ctlz(ubyte) + +implementation ; Functions: + +ubyte %bar(ubyte %x) { +entry: + %tmp.1 = call ubyte %llvm.ctlz( ubyte %x ) + ret ubyte %tmp.1 +} |

