- Dec 08, 2007
-
-
Owen Anderson authored
Fix several cache coherence bugs in MemDep/GVN that were found. Also add some (disabled) debugging code to make such problems easier to diagnose in the future, written by Duncan Sands. llvm-svn: 44695
-
- Dec 06, 2007
-
-
Chris Lattner authored
llvm-svn: 44655
-
Chris Lattner authored
llvm-svn: 44650
-
Evan Cheng authored
If both result of the {s|z}xt and its source are live out, rewrite all uses of the source with result of extension. llvm-svn: 44643
-
- Dec 03, 2007
-
-
Duncan Sands authored
throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544
-
Chris Lattner authored
llvm-svn: 44543
-
Devang Patel authored
insert new ExitValue after this operand definition. This fixes PR1828. llvm-svn: 44539
-
- Dec 01, 2007
-
-
Duncan Sands authored
into alias analysis. This meant updating the API which now has versions of the getModRefBehavior, doesNotAccessMemory and onlyReadsMemory methods which take a callsite parameter. These should be used unless the callsite is not known, since in general they can do a better job than the versions that take a function. Also, users should no longer call the version of getModRefBehavior that takes both a function and a callsite. To reduce the chance of misuse it is now protected. llvm-svn: 44487
-
- Nov 29, 2007
-
-
Owen Anderson authored
llvm-svn: 44437
-
- Nov 28, 2007
-
-
Duncan Sands authored
use them. llvm-svn: 44403
-
- Nov 27, 2007
-
-
Duncan Sands authored
the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359
-
Owen Anderson authored
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change. llvm-svn: 44348
-
- Nov 26, 2007
-
-
Owen Anderson authored
llvm-svn: 44325
-
Owen Anderson authored
llvm-svn: 44323
-
Anton Korobeynikov authored
llvm-svn: 44320
-
- Nov 25, 2007
-
-
Chris Lattner authored
llvm-svn: 44318
-
Duncan Sands authored
trivial difference in function attributes, allow calls to it to be converted to direct calls. Based on a patch by Török Edwin. While there, move the various lists of mutually incompatible parameters etc out of the verifier and into ParameterAttributes.h. llvm-svn: 44315
-
- Nov 23, 2007
-
-
Chris Lattner authored
llvm-svn: 44293
-
Duncan Sands authored
from the old ADCE implementation (there it was correct because the transform was being done for read-only functions). llvm-svn: 44287
-
Chris Lattner authored
llvm-svn: 44284
-
- Nov 22, 2007
-
-
Duncan Sands authored
llvm-svn: 44280
-
Duncan Sands authored
exceptions, so don't turn invokes of them into calls. llvm-svn: 44278
-
- Nov 21, 2007
-
-
Nick Lewycky authored
llvm-svn: 44262
-
- Nov 19, 2007
-
-
Dan Gohman authored
llvm-svn: 44234
-
- Nov 17, 2007
-
-
Dale Johannesen authored
fix an occasional nonrepeatable bootstrap failure we've been seeing on Darwin. llvm-svn: 44202
-
- Nov 16, 2007
-
-
Chris Lattner authored
llvm-svn: 44188
-
- Nov 14, 2007
-
-
Chris Lattner authored
by inserting unreachable after no-return calls. llvm-svn: 44099
-
- Nov 13, 2007
-
-
Chris Lattner authored
and simplifycfg in the rare cases when it is needed. llvm-svn: 44044
-
- Nov 08, 2007
-
-
Andrew Lenharth authored
llvm-svn: 43897
-
Andrew Lenharth authored
llvm-svn: 43893
-
- Nov 06, 2007
-
-
Chris Lattner authored
llvm-svn: 43780
-
Chris Lattner authored
llvm-svn: 43779
-
Chris Lattner authored
all compute the same value. llvm-svn: 43777
-
Duncan Sands authored
type of SV has changed from what it originally was. However we need the store width of the original. llvm-svn: 43775
-
Chris Lattner authored
llvm-svn: 43745
-
Dan Gohman authored
llvm-svn: 43743
-
- Nov 05, 2007
-
-
Devang Patel authored
If a value is incoming from outside the loop then the value does not need remapping and the value is never tracked through LastValueMap. llvm-svn: 43728
-
Duncan Sands authored
that there is no padding. llvm-svn: 43691
-
- Nov 04, 2007
-
-
Gordon Henriksen authored
Also cleaned up some comments in source files. llvm-svn: 43674
-
Duncan Sands authored
or getTypeSizeInBits as appropriate in ScalarReplAggregates. The right change to make was not always obvious, so it would be good to have an sroa guru review this. While there I noticed some bugs, and fixed them: (1) arrays of x86 long double have holes due to alignment padding, but this wasn't being spotted by HasStructPadding (renamed to HasPadding). The same goes for arrays of oddly sized ints. Vectors also suffer from this, in fact the problem for vectors is much worse because basic vector assumptions seem to be broken by vectors of type with alignment padding. I didn't try to fix any of these vector problems. (2) The code for extracting smaller integers from larger ones (in the "int union" case) was wrong on big-endian machines for integers with size not a multiple of 8, like i1. Probably this is impossible to hit via llvm-gcc, but I fixed it anyway while there and added a testcase. I also got rid of some trailing whitespace and changed a function name which had an obvious typo in it. llvm-svn: 43672
-