History log of /external/llvm/test/Transforms/InstCombine/or.ll
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39f4e8d9cce22b60a3417a5f17c847fa5b1daebf 14-Jul-2013 Stephen Lin <stephenwlin@gmail.com> Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change.

This update was done with the following bash script:

find test/Transforms -name "*.ll" | \
while read NAME; do
echo "$NAME"
if ! grep -q "^; *RUN: *llc" $NAME; then
TEMP=`mktemp -t temp`
cp $NAME $TEMP
sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \
while read FUNC; do
sed -i '' "s/;\(.*\)\([A-Za-z0-9_]*\):\( *\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3@$FUNC(/g" $TEMP
done
mv $TEMP $NAME
fi
done


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186268 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
024d943bca85ee0b6bc1b9e5f13ec5276f16c13d 14-Apr-2013 David Majnemer <david.majnemer@gmail.com> Reorders two transforms that collide with each other

One performs: (X == 13 | X == 14) -> X-13 <u 2
The other: (A == C1 || A == C2) -> (A & ~(C1 ^ C2)) == C1

The problem is that there are certain values of C1 and C2 that
trigger both transforms but the first one blocks out the second,
this generates suboptimal code.

Reordering the transforms should be better in every case and
allows us to do interesting stuff like turn:
%shr = lshr i32 %X, 4
%and = and i32 %shr, 15
%add = add i32 %and, -14
%tobool = icmp ne i32 %add, 0

into:
%and = and i32 %X, 240
%tobool = icmp ne i32 %and, 224


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
cc54889cd58322b8766525f43cc1f7cb52e4692e 17-Feb-2013 Bill Wendling <isanbard@gmail.com> The transform is:

(or (bool?A:B),(bool?C:D)) --> (bool?(or A,C):(or B,D))

By the time the OR is visited, both the SELECTs have been visited and not
optimized and the OR itself hasn't been transformed so we do this transform in
the hopes that the new ORs will be optimized.

The transform is explicitly disabled for vector-selects until "codegen matures
to handle them better".

Patch by Muhammad Tauqir!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
e6f364b6c44eda14cd4ad54366ea5cc7246b9500 19-May-2011 Eli Friedman <eli.friedman@gmail.com> More instcombine cleanup, towards improving debug line info.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
3ec01b7dac769449723a25d8f7d33b49c917ccc9 15-Apr-2011 Eli Friedman <eli.friedman@gmail.com> Add an instcombine for constructs like a | -(b != c); a select is more
canonical, and generally leads to better code. Found while looking at
an article about saturating arithmetic.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
5337f20c1516296edcea6bc3da6cdc74329142ae 20-Dec-2010 Benjamin Kramer <benny.kra@googlemail.com> Teach InstCombine to merge (icmp ult (X + CA), C1) | (icmp eq X, C2) into (icmp ult (X + CA), C1 + 1) if C2 + CA == C1.

InstCombine creates these so now we compile x == 23 || x == 24 || x == 25 to
%x.off = add i32 %x, -23
%1 = icmp ult i32 %x.off, 3
instead of
%x.off = add i32 %x, -23
%1 = icmp ult i32 %x.off, 2
%cmp3 = icmp eq i32 %x, 25
%ret2 = or i1 %1, %cmp3


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
2c5f19db2eef055d2a65482504ae98e79f2ca24d 13-Sep-2010 Owen Anderson <resistor@mac.com> Re-apply r113679, which was reverted in r113720, which added a paid of new instcombine transforms
to expose greater opportunities for store narrowing in codegen. This patch fixes a potential
infinite loop in instcombine caused by one of the introduced transforms being overly aggressive.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
298c45e845e1743f86b060cd280e8729cd4ba468 12-Sep-2010 Eric Christopher <echristo@apple.com> Revert 113679, it was causing an infinite loop in a testcase that I've sent
on to Owen.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
26c5663283f89f1624304723ebe8c25d253463a3 11-Sep-2010 Owen Anderson <resistor@mac.com> Invert and-of-or into or-of-and when doing so would allow us to clear bits of the and's mask.
This can result in increased opportunities for store narrowing in code generation. Update a number of
tests for this change. This fixes <rdar://problem/8285027>.

Additionally, because this inverts the order of ors and ands, some patterns for optimizing or-of-and-of-or
no longer fire in instances where they did originally. Add a simple transform which recaptures most of these
opportunities: if we have an or-of-constant-or and have failed to fold away the inner or, commute the order
of the two ors, to give the non-constant or a chance for simplification instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
6844c8ea5a67e551be7106d6b7b9e1a64eecbe51 11-Sep-2010 Benjamin Kramer <benny.kra@googlemail.com> Teach InstructionSimplify to fold (A & B) & A -> A & B and (A | B) | A -> A | B.

Reassociate does this but it doesn't catch all cases (e.g. if the operands are i1).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
07c9b64719f913015d23c7b6d1e0f135ddc3d018 14-Jul-2010 Chris Lattner <sabre@nondot.org> revert r108320, I see the failures now...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
7e185af9302cfc5e9dffdba65c8a99f9f57b4076 14-Jul-2010 Chris Lattner <sabre@nondot.org> reapply benjamin's instcombine patch, I don't see anything wrong with it and can't repro any problems with a manual self-host.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
c9fe6374b7681c392a135bfe2d9819a9237bf879 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> Nope, still breaks the release selfhost bots :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
8fd437c43fccc73777ba6aefa9d38c78281e5828 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> Reapply the "or" half of r108136, which seems to be less problematic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108152 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
e2d07b5208362159e8deb886c03225b7f5a03cf2 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> Revert r108141 again, sigh.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
98a8206e58d32adebaba501d40266eefb42cb06a 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> Reapply 108136 with an ugly pasto fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
0cc4ed1ca504c9e5631d16ababb8baceb4fce6ea 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> Revert r108136 until I figure out why it broke selfhost.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
4fc719e60767c80541a21c99d139a904b4c948df 12-Jul-2010 Benjamin Kramer <benny.kra@googlemail.com> instcombine: fold (x & y) | (~x & z) and (x & y) ^ (~x & z) into ((y ^ z) & x) ^ z which is one instruction shorter. (PR6773)

before:
%and = and i32 %y, %x
%neg = xor i32 %x, -1
%and4 = and i32 %z, %neg
%xor = xor i32 %and4, %and

after:
%xor1 = xor i32 %z, %y
%and2 = and i32 %xor1, %x
%xor = xor i32 %and2, %z


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
76e70312dbf8fc61ac00e13b00f4996f95f40174 05-Mar-2010 Chris Lattner <sabre@nondot.org> make these less sensitive to temporary naming.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
39ceb471b7ebaf0ebef09f7916419ae2e0f30acc 02-Feb-2010 Chris Lattner <sabre@nondot.org> don't turn (A & (C0?-1:0)) | (B & ~(C0?-1:0)) -> C0 ? A : B
for vectors. Codegen is generating awful code or segfaulting
in various cases (e.g. PR6204).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
8e76764de86d7906db5123626b65f593e159d9f3 11-Jan-2010 Chris Lattner <sabre@nondot.org> add one more bitfield optimization, allowing clang to generate
good code on PR4216:

_test_bitfield: ## @test_bitfield
orl $32962, %edi
movl $4294941946, %eax
andq %rdi, %rax
ret

instead of:

_test_bitfield:
movl $4294941696, %ecx
movl %edi, %eax
orl $194, %edi
orl $32768, %eax
andq $250, %rdi
andq %rax, %rcx
movq %rdi, %rax
orq %rcx, %rax
ret

Evan is looking into the remaining andq+imm -> andl optimization.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
e4412c1f0b636980d77a518b76e94559830eeaed 04-Jan-2010 Chris Lattner <sabre@nondot.org> implement an instcombine xform needed by clang's codegen
on the example in PR4216. This doesn't trigger in the testsuite,
so I'd really appreciate someone scrutinizing the logic for
correctness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
f994bf00b5d1b0b74e70cfcf65414b8aa401d3ea 02-Jan-2010 Nick Lewycky <nicholas@mxc.ca> Fix logic error in previous commit. The != case needs to become an or, not an
and.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
546d63176eecb2786f9fcd587ccb2c1ef604278b 02-Jan-2010 Nick Lewycky <nicholas@mxc.ca> Optimize pointer comparison into the typesafe form, now that the backends will
handle them efficiently. This is the opposite direction of the transformation
we used to have here.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
0b178e25c4104f3577fed6e66bd2c17f9fc08eb2 02-Jan-2010 Chris Lattner <sabre@nondot.org> remove the instcombine transformations that are inserting nasty
pointer to int casts that confuse later optimizations. See PR3351
for details.

This improves but doesn't complete fix 483.xalancbmk because llvm-gcc
does this xform in GCC's "fold" routine as well. Clang++ will do
better I guess.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
3f40e233922dfecb10cb7e4996f800cd35a93271 29-Nov-2009 Chris Lattner <sabre@nondot.org> Implement PR5634.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
48b59ec81701430f8adae21dbab1a625ffddcaec 26-Oct-2009 Chris Lattner <sabre@nondot.org> reapply r85085 with a bugfix to avoid infinite looping.
All of the 'demorgan' related xforms need to use
dyn_castNotVal, not m_Not.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
85def1607922c25300f899679fc983d9881db8af 26-Oct-2009 Evan Cheng <evan.cheng@apple.com> Revert 85085. It causes infinite looping during llvm-gcc build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
863928fc39c7f1ab86779415eb704b2f2474b995 26-Oct-2009 Chris Lattner <sabre@nondot.org> Implement PR3266 & PR5276, folding:
not (or (icmp, icmp)) -> and(icmp, icmp)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
f2b4854e3f018f9c9dbf21523b499d1ca771ac0a 26-Oct-2009 Chris Lattner <sabre@nondot.org> convert or.ll to filecheck and merge or2 into it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
f2f6ce65b79df6ec4ee427d51a18355a170f199b 11-Sep-2009 Dan Gohman <gohman@apple.com> Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
3e054fe9efc64596534bbae0d1634ed15181d642 09-Sep-2009 Dan Gohman <gohman@apple.com> Use opt -S instead of piping bitcode output through llvm-dis.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
b1e1e82c54c060ea5dae09dae043234826ca2539 08-Sep-2009 Dan Gohman <gohman@apple.com> Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
ec9a35a6f9143cfa325e0413cc297c48f627973a 01-Mar-2008 Tanya Lattner <tonic@nondot.org> Remove llvm-upgrade and update test cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
7c65d4345ea93967e2d943765c3fa945beb72aab 15-Apr-2007 Reid Spencer <rspencer@reidspencer.com> For PR1319:
Make use of the END. facility on all files > 1K so that we aren't wasting CPU
cycles searching for RUN: lines that we'll never find.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
2b544beda337f7d0c071bf3ed49f14e54284d49b 14-Apr-2007 Reid Spencer <rspencer@reidspencer.com> For PR1319:
Upgrade tests to work with new llvm.exp version of llvm_runtest.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
69ccadd7535a83b348595cf603126e6a68b2883b 02-Dec-2006 Reid Spencer <rspencer@reidspencer.com> Use the llvm-upgrade program to upgrade llvm assembly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
80e206556521c2e051cd9c8fd09e9b4d6485c361 26-Feb-2006 Chris Lattner <sabre@nondot.org> new testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
6261d766f95d2269af4d4e669f614dc67af73f80 12-Feb-2006 Chris Lattner <sabre@nondot.org> tweaks


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
1e122d1dc297f9386c11916df86fa0245b61041f 18-Sep-2005 Chris Lattner <sabre@nondot.org> new testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
056ea904a783c3f51cf26c0b3a3d1f690a8892ef 06-May-2005 Chris Lattner <sabre@nondot.org> new testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
0b948848eb31bc26b12df58adb304f61c1ea5bc1 29-Sep-2004 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
e78760e179caabddb48e158c4628f717995fcbc4 16-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
c6da691cfea63d844ad31ee77d1bce4275686d9f 12-Aug-2003 Chris Lattner <sabre@nondot.org> New testcases


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
12642fda090658215b1f20c7d9cecb37b5b6560c 24-Jul-2003 Chris Lattner <sabre@nondot.org> More testcases, which I'll implement later


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
b5874f1499743aa99addfc72ab68f970a08af81a 24-Jul-2003 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
c2a2e73c7f61f20324b8d497b8f5a52ef508169f 23-Jul-2003 Chris Lattner <sabre@nondot.org> Renumber tests sequentially


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
f8527989b5abe9573c9d1451136a46550f05aa16 23-Jul-2003 Chris Lattner <sabre@nondot.org> Split the or and xor tests into two separate files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
2fc5e59362ca8150bd5b6be41923fa082b26fd8d 23-Jul-2003 Chris Lattner <sabre@nondot.org> Remove obscure test


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
b5cfb6cb1a528990cafbb3cc447ac50370637368 23-Jul-2003 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
0afcd442a134b165d602e97924ceeb7ebb875a13 23-Jul-2003 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
31a7f85346d4a379ea4dfad068df6193e3300e30 23-Jul-2003 Chris Lattner <sabre@nondot.org> New testcases


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
2b8e478b5d31f5fb5bf9bb5b9cf8ebea6350ffce 23-Jul-2003 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
347319a4c90abdfa333a247f892e86497c38e7bd 23-Jul-2003 Chris Lattner <sabre@nondot.org> New testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
060c1f816cdb15f3d1ce926cf48f89d3535ab412 29-Jun-2003 Chris Lattner <sabre@nondot.org> Remove usage of grep-not script


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
c6cab2415195fe24b5c14e6dc62e1f09da7cf96e 29-Jun-2003 Chris Lattner <sabre@nondot.org> Convert scripts from using explicit control flow to use the new grep-not script


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
5feab1631f11c8709e535c239081815c2c2786a8 04-Jun-2003 Chris Lattner <sabre@nondot.org> Add new test for inverting branches


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6598 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
be0fe12f72759db078c34f5b973f568ee83d5432 11-Mar-2003 Chris Lattner <sabre@nondot.org> Test limited reassociation


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
8408add00a690046ddbc3e5d9d19c6b640444f65 11-Mar-2003 Chris Lattner <sabre@nondot.org> Add optimizations:
- (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
- (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
1b77300154ca8cbf1594475712811228f898149c 10-Mar-2003 Chris Lattner <sabre@nondot.org> * Add testcases for associative operators
* Add testcase for or ubyte, 255 which was broken before


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
63a95485912c9926c867e0514b889ab7c43ee5b2 10-Mar-2003 Chris Lattner <sabre@nondot.org> Add test for: (A|B)^B == A & (~B)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
5640f333313f63ac709e99e57ae455e49ccb8fc6 18-Feb-2003 Chris Lattner <sabre@nondot.org> test for a variety of new transformations:
* A & ~A == 0
* A / (2^c) == A >> c if unsigned
* 0 / A == 0
* 1.0 * A == A
* A * (2^c) == A << c
* A ^ ~A == -1
* A | ~A == -1
* 0 % X = 0
* A % (2^c) == A & (c-1) if unsigned
* A - (A & B) == A & ~B
* -1 - A == ~A


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
f63355327a514afc4f7e2f0986293ef417620bb7 18-Feb-2003 Chris Lattner <sabre@nondot.org> Modernize testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
2e217a7d961b24bc981f17966ec815b86c90051f 08-Oct-2002 Chris Lattner <sabre@nondot.org> This test was mistakenly matching 'predecessors' that the new asmwriter
spits out


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
500888b7e8b4ad9901b13f298d0194eafd34b354 14-Aug-2002 Chris Lattner <sabre@nondot.org> Remove illegal test now that not instruction does not exist.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
42dbd3044c4c7031a95c5c9a25804cc05b0fcb3b 10-Aug-2002 Chris Lattner <sabre@nondot.org> xor x, ALLONES should -> not x


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
4a6e4b30b44048cdc7277b3d0264e71e47b5611c 02-Aug-2002 Chris Lattner <sabre@nondot.org> These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3221 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
829b79dd8ca141b38ebbf62fcac6155e5d99f435 06-May-2002 Chris Lattner <sabre@nondot.org> More testcases I don't want to forget about


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2480 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll
33a90b18e084c15f4e2558f9aa8ade4227b39f51 06-May-2002 Chris Lattner <sabre@nondot.org> New testcases so I don't forget about these algebraic simplifications


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/InstCombine/or.ll