Dmitri Gribenko
|
d7beca87f5
|
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
This is done to avoid odd test failures, like the one fixed in r171243.
My previous regex was not good enough to find these.
llvm-svn: 171343
|
2013-01-01 13:57:25 +00:00 |
Benjamin Kramer
|
401e6093c9
|
Fix some CHECK lines which were ignored by accident.
llvm-svn: 91214
|
2009-12-12 09:25:50 +00:00 |
Nick Lewycky
|
a0e9d700dc
|
Generalize this optimization to work on equality comparisons between any two
integers that are constant except for a single bit (the same n-th bit in each).
llvm-svn: 90646
|
2009-12-05 05:00:00 +00:00 |
Nick Lewycky
|
922d4ab574
|
Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. This
fixes part of PR5438.
llvm-svn: 89639
|
2009-11-23 03:17:33 +00:00 |
Nick Lewycky
|
95148689c9
|
Revert r88830 and r88831 which appear to have caused a selfhost buildbot some
grief. I suspect this patch merely exposed a bug else.
llvm-svn: 88841
|
2009-11-15 07:47:32 +00:00 |
Nick Lewycky
|
6a6ac7e105
|
Correct typo.
llvm-svn: 88831
|
2009-11-15 06:16:57 +00:00 |
Nick Lewycky
|
e29fa4c7a1
|
Teach instcombine to look for booleans in wider integers when it encounters a
zext(icmp). It may be able to optimize that away. This fixes one of the cases
in PR5438.
llvm-svn: 88830
|
2009-11-15 05:55:17 +00:00 |