Chris Lattner
|
8df3ffd7ac
|
zap dead code.
llvm-svn: 113073
|
2010-09-04 18:12:00 +00:00 |
|
Dan Gohman
|
8ed4d1646e
|
Revert r111058, the lint check for indirectbr successors that aren't
address-taken. This can occur normally, if the code which took the
address got DCEd.
llvm-svn: 111121
|
2010-08-16 14:39:19 +00:00 |
|
Dan Gohman
|
422c164d8d
|
Add a lint check for an indirectbr destination which has not
had its address taken.
llvm-svn: 111058
|
2010-08-13 23:56:28 +00:00 |
|
Owen Anderson
|
f2fea95f2f
|
Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
|
2010-08-06 18:33:48 +00:00 |
|
Owen Anderson
|
aadd8a89ca
|
Revert r110396 to fix buildbots.
llvm-svn: 110410
|
2010-08-06 00:23:35 +00:00 |
|
Owen Anderson
|
b9762c07cb
|
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
2010-08-05 23:42:04 +00:00 |
|
Dan Gohman
|
e0489ffe8e
|
Add a convenient form of AliasAnalysis::alias for the case where the sizes
are unknown.
llvm-svn: 110090
|
2010-08-03 00:56:30 +00:00 |
|
Dan Gohman
|
abb2503036
|
Add a lint check for indirectbr with no successors.
llvm-svn: 110074
|
2010-08-02 23:06:43 +00:00 |
|
Owen Anderson
|
f8addbb0a1
|
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
|
2010-07-21 22:09:45 +00:00 |
|
Dan Gohman
|
0af129aa1b
|
Add a lint check for mismatched return types, inspired by PR6944.
llvm-svn: 108162
|
2010-07-12 18:02:04 +00:00 |
|
Dan Gohman
|
0cea029f14
|
Add some more TODO comments.
llvm-svn: 107657
|
2010-07-06 15:23:00 +00:00 |
|
Dan Gohman
|
fa0252225f
|
Add a comment.
llvm-svn: 107656
|
2010-07-06 15:21:57 +00:00 |
|
Dan Gohman
|
56a2a0fb80
|
Fix the noalias checking so that it doesn't worry about
an argument aliasing itself. Thanks Duncan!
llvm-svn: 105288
|
2010-06-01 20:51:40 +00:00 |
|
Dan Gohman
|
fe69bf7b4c
|
Add lint checks for function attributes.
llvm-svn: 105009
|
2010-05-28 21:43:57 +00:00 |
|
Dan Gohman
|
a20b0d02e6
|
Fix lint's memcpy and memmove checks, and its basic block traversal.
llvm-svn: 104970
|
2010-05-28 17:44:00 +00:00 |
|
Dan Gohman
|
9a50a9215c
|
Detect self-referential values.
llvm-svn: 104957
|
2010-05-28 16:45:33 +00:00 |
|
Dan Gohman
|
8570c1a249
|
Eli pointed out that va_arg instruction result values don't
reference the stack.
llvm-svn: 104951
|
2010-05-28 16:34:49 +00:00 |
|
Dan Gohman
|
7981165281
|
Teach lint how to look through simple store+load pairs and other
effective no-op constructs, to make it more effective on
unoptimized IR.
llvm-svn: 104950
|
2010-05-28 16:21:24 +00:00 |
|
Dan Gohman
|
a6c568fa77
|
Add a lint check for returning the address of stack memory.
llvm-svn: 104936
|
2010-05-28 04:33:42 +00:00 |
|
Dan Gohman
|
0b5922b032
|
Fix Lint printing warnings multiple times. Remove the ErrorStr
option from lintModule, which was an artifact from being
based on Verifier code.
llvm-svn: 104765
|
2010-05-26 22:28:53 +00:00 |
|
Dan Gohman
|
2c70e05105
|
Reinstate checking of stackrestore, with checking for both Read
and Write, and add a comment explaining this.
llvm-svn: 104756
|
2010-05-26 22:21:25 +00:00 |
|
Dan Gohman
|
5ec2a338ac
|
Stackrestore is not a load.
llvm-svn: 104752
|
2010-05-26 22:00:10 +00:00 |
|
Dan Gohman
|
35b59125b0
|
Remove a TODO which isn't practical.
llvm-svn: 104748
|
2010-05-26 21:50:41 +00:00 |
|
Dan Gohman
|
6b78ee79c1
|
Implement checking of the tail keyword.
llvm-svn: 104744
|
2010-05-26 21:46:36 +00:00 |
|
Dan Gohman
|
6944fae2f6
|
Add lint checks for invalid uses of memory.
llvm-svn: 102733
|
2010-04-30 19:05:00 +00:00 |
|
Dan Gohman
|
1af81d31e9
|
Tidy a comment.
llvm-svn: 102041
|
2010-04-22 01:30:05 +00:00 |
|
Dan Gohman
|
b07151b5dd
|
Add several more lint checks.
llvm-svn: 100841
|
2010-04-09 01:39:53 +00:00 |
|
Dan Gohman
|
eeb89ac6d3
|
Add a few more lint checks.
llvm-svn: 100825
|
2010-04-08 23:05:57 +00:00 |
|
Dan Gohman
|
6ad805d335
|
Add a -lint pass which checks for common sources of undefined or likely
unintended behavior.
llvm-svn: 100798
|
2010-04-08 18:47:09 +00:00 |
|