diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-20 00:11:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-20 00:11:48 +0000 |
commit | bdedd4477331b3b0d28d74658baf05f675f2d195 (patch) | |
tree | 74c82baacaff908dd386b9a234ac895185be37ed /test | |
parent | 108ecf397578946a5f34fc90f22cdd0c9ca4448a (diff) | |
download | external_llvm-bdedd4477331b3b0d28d74658baf05f675f2d195.zip external_llvm-bdedd4477331b3b0d28d74658baf05f675f2d195.tar.gz external_llvm-bdedd4477331b3b0d28d74658baf05f675f2d195.tar.bz2 |
Add FastISel support for several more binary operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fast-isel.ll | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll index 36c5a2d..1b0d5b2 100644 --- a/test/CodeGen/X86/fast-isel.ll +++ b/test/CodeGen/X86/fast-isel.ll @@ -9,9 +9,15 @@ entry: br label %fast fast: - %t = add i32 %r, %s + %t0 = add i32 %r, %s + %t1 = mul i32 %t0, %s + %t2 = sub i32 %t1, %s + %t3 = and i32 %t2, %s + %t4 = or i32 %t3, %s + %t5 = xor i32 %t4, %s br label %exit exit: - ret i32 %t + ret i32 %t5 } + |