Sanjay Patel
ddb53dd080
[InstCombine] add tests to show type limitations of InsertRangeTest and callers
...
llvm-svn: 280175
2016-08-30 23:16:59 +00:00
Sanjay Patel
d938e88e89
[InstCombine] use m_APInt to allow icmp eq (and X, C1), C2 folds for splat constant vectors
...
llvm-svn: 277762
2016-08-04 20:05:02 +00:00
Sanjay Patel
e063ddb347
add tests for icmp vector folds
...
llvm-svn: 276482
2016-07-22 22:19:52 +00:00
Sanjay Patel
9ad8fb68f7
[InstSimplify] analyze (optionally casted) icmps to eliminate obviously false logic (PR27869)
...
By moving this transform to InstSimplify from InstCombine, we sidestep the problem/question
raised by PR27869:
https://llvm.org/bugs/show_bug.cgi?id=27869
...where InstCombine turns an icmp+zext into a shift causing us to miss the fold.
Credit to David Majnemer for a draft patch of the changes to InstructionSimplify.cpp.
Differential Revision: http://reviews.llvm.org/D21512
llvm-svn: 273200
2016-06-20 20:59:59 +00:00
Sanjay Patel
06918ad79e
[InstCombine] update to use FileCheck with autogenerated exact checking
...
llvm-svn: 273173
2016-06-20 17:56:13 +00:00
David Majnemer
f2a9a513c7
InstCombine: add more transforms
...
C1-X <u C2 -> (X|(C2-1)) == C1
C1-X >u C2 -> (X|C2) == C1
X-C1 <u C2 -> (X & -C2) == C1
X-C1 >u C2 -> (X & ~C2) == C1
llvm-svn: 185909
2013-07-09 07:50:59 +00:00
Dan Gohman
72a13d2476
Use opt -S instead of piping bitcode output through llvm-dis.
...
llvm-svn: 81257
2009-09-08 22:34:10 +00:00
Dan Gohman
9737a63ed8
Change these tests to feed the assembly files to opt directly, instead
...
of using llvm-as, now that opt supports this.
llvm-svn: 81226
2009-09-08 16:50:01 +00:00
Tanya Lattner
aa6f5c9ddd
Remove llvm-upgrade and update tests.
...
llvm-svn: 48103
2008-03-09 08:16:40 +00:00
Reid Spencer
ede8c3b92c
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.
llvm-svn: 36059
2007-04-15 07:38:21 +00:00
Reid Spencer
83b3d82672
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00