diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-11 22:03:29 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-11 22:03:29 +0000 |
commit | 199c4240feedec2f9dbd0d4c4c0a32fa46e50270 (patch) | |
tree | 23f814b690f461e89f44e4455bdfce90fafb6493 /test/CodeGen/X86/fast-isel.ll | |
parent | c31b0fc31f69435eeb6cd456158239e275f52f31 (diff) | |
download | llvm-199c4240feedec2f9dbd0d4c4c0a32fa46e50270.tar.gz llvm-199c4240feedec2f9dbd0d4c4c0a32fa46e50270.tar.bz2 llvm-199c4240feedec2f9dbd0d4c4c0a32fa46e50270.tar.xz |
Extend r93152 to work on OR r, r. If the source set bits are known not to overlap, then select as an ADD instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel.ll')
-rw-r--r-- | test/CodeGen/X86/fast-isel.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll index 3dcd736a14..84b3fd7caf 100644 --- a/test/CodeGen/X86/fast-isel.ll +++ b/test/CodeGen/X86/fast-isel.ll @@ -14,7 +14,7 @@ fast: %t1 = mul i32 %t0, %s %t2 = sub i32 %t1, %s %t3 = and i32 %t2, %s - %t4 = or i32 %t3, %s + %t4 = xor i32 %t3, 3 %t5 = xor i32 %t4, %s %t6 = add i32 %t5, 2 %t7 = getelementptr i32* %y, i32 1 |