Sanjay Patel
d4c3ab24ab
[InstCombine] use m_APInt to allow icmp (and X, Y), C folds for splat constant vectors
...
llvm-svn: 279937
2016-08-28 18:18:00 +00:00
Sanjay Patel
728b068864
[InstCombine] add tests for vector icmp folds
...
llvm-svn: 278637
2016-08-14 22:44:10 +00:00
Sanjay Patel
ba4bb5c96a
auto-generate checks
...
llvm-svn: 278136
2016-08-09 17:02:17 +00:00
Sanjay Patel
fe05838f17
join RUN lines; NFC
...
llvm-svn: 271115
2016-05-28 15:34:05 +00:00
David Majnemer
d32daec92c
[InstCombine] Replace an and+icmp with a trunc+icmp
...
Bitwise arithmetic can obscure a simple sign-test. If replacing the
mask with a truncate is preferable if the type is legal because it
permits us to rephrase the comparison more explicitly.
llvm-svn: 245171
2015-08-16 07:09:17 +00:00
Suyog Sarda
375e0af627
Use FileCheck instead of grep. Change by Ankur Garg.
...
Differential Revision: http://reviews.llvm.org/D6430
llvm-svn: 222879
2014-11-27 11:22:49 +00:00
Dan Gohman
c95df8b6d8
Use opt -S instead of piping bitcode output through llvm-dis.
...
llvm-svn: 81257
2009-09-08 22:34:10 +00:00
Dan Gohman
8d84372836
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
9aa573954c
Remove llvm-upgrade and update tests.
...
llvm-svn: 48103
2008-03-09 08:16:40 +00:00
Dan Gohman
794fa1f8f7
Convert tests using "| wc -l | grep ..." to use the count script.
...
llvm-svn: 41097
2007-08-15 13:36:28 +00:00
Reid Spencer
c49d7dd886
For PR1319:
...
Upgrade tests to work with new llvm.exp version of llvm_runtest.
llvm-svn: 36013
2007-04-14 20:13:02 +00:00
Reid Spencer
4572ce85b0
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00