diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
commit | 0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9 (patch) | |
tree | dcdecdda0cd3e1168527d832f3824e0c94b3ef60 /test/Feature/casttest.ll | |
parent | f22696f209701bff12edbe41c646d1ef179c685d (diff) | |
download | external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.zip external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.tar.gz external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.tar.bz2 |
Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/casttest.ll')
-rw-r--r-- | test/Feature/casttest.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Feature/casttest.ll b/test/Feature/casttest.ll new file mode 100644 index 0000000..5b2db7b --- /dev/null +++ b/test/Feature/casttest.ll @@ -0,0 +1,11 @@ +implementation + +short "FunFunc"(long %x, sbyte %z) +begin +bb0: ;;<label> + %cast110 = cast sbyte %z to short ;;<short>:(signed operands) + %cast10 = cast long %x to short ;;<short> + %reg109 = add short %cast110, %cast10 ;;<short> + ret short %reg109 ;;<void> +end + |