| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
http://smooshlab.apple.com:8010/builders/clang-x86_64-darwin10-fnt/builds/703 in the nightly test suite
llvm-svn: 98958
|
| |
|
|
|
|
|
|
|
|
|
| |
This time I did a self-hosted bootstrap on Linux x86-64,
with no problems. Let's see how darwin 64-bit self-hosting
goes. At the first sign of failure I'll back this out.
Maybe the valgrind bots give me a hint of what may be wrong
(it at all).
llvm-svn: 98957
|
| |
|
|
| |
llvm-svn: 98581
|
| |
|
|
| |
llvm-svn: 98490
|
| |
|
|
| |
llvm-svn: 98376
|
| |
|
|
|
|
| |
to unify the almost identical code in CodeGenPrepare and InstCombineCalls.
llvm-svn: 98338
|
| |
|
|
|
|
| |
__strcpy_chk -> strcpy code.
llvm-svn: 98284
|
| |
|
|
| |
llvm-svn: 98274
|
| |
|
|
| |
llvm-svn: 98260
|
| |
|
|
| |
llvm-svn: 98219
|
| |
|
|
|
|
|
| |
compute a set of reachable blocks for itself each time it is called, which
is fairly frequently.
llvm-svn: 98179
|
| |
|
|
| |
llvm-svn: 98122
|
| |
|
|
|
|
| |
This is a first step towards eliminating checks in Descriptor constructors.
llvm-svn: 97975
|
| |
|
|
| |
llvm-svn: 97963
|
| |
|
|
|
|
| |
This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers.
llvm-svn: 97947
|
| |
|
|
| |
llvm-svn: 97846
|
| |
|
|
|
|
|
|
| |
can be used in more places. Add an argument for the TargetData that
most of them need. Update for the getInt8PtrTy() change. Should be
no functionality change.
llvm-svn: 97844
|
| |
|
|
| |
llvm-svn: 97458
|
| |
|
|
|
|
|
|
|
|
|
|
| |
which branch on undef to branch on a boolean constant for the edge
exiting the loop. This helps ScalarEvolution compute trip counts for
loops.
Teach ScalarEvolution to recognize single-value PHIs, when safe, and
ForgetSymbolicName to forget such single-value PHI nodes as apprpriate
in ForgetSymbolicName.
llvm-svn: 97126
|
| |
|
|
| |
llvm-svn: 96387
|
| |
|
|
|
|
| |
terminator's list of successors.
llvm-svn: 96377
|
| |
|
|
|
|
|
| |
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.
llvm-svn: 96344
|
| |
|
|
|
|
| |
called by jump threading.
llvm-svn: 96263
|
| |
|
|
|
|
| |
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!
llvm-svn: 96223
|
| |
|
|
| |
llvm-svn: 96081
|
| |
|
|
|
|
|
|
| |
to a PHI, avoid it in the common case where the BB occurs
in the same index for multiple phis. This speeds up CGP on
an insane testcase from 8.35 to 3.58s.
llvm-svn: 96080
|
| |
|
|
|
|
| |
using pred_begin/end. It is much faster.
llvm-svn: 96079
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Weird code sometimes uses pointer constants other than null. This patch
teaches SimplifyCFG to build switch instructions in those cases.
Code like this:
void f(const char *x) {
if (!x)
puts("null");
else if ((uintptr_t)x == 1)
puts("one");
else if (x == (char*)2 || x == (char*)3)
puts("two");
else if ((intptr_t)x == 4)
puts("four");
else
puts(x);
}
Now becomes a switch:
define void @f(i8* %x) nounwind ssp {
entry:
%magicptr23 = ptrtoint i8* %x to i64 ; <i64> [#uses=1]
switch i64 %magicptr23, label %if.else16 [
i64 0, label %if.then
i64 1, label %if.then2
i64 2, label %if.then9
i64 3, label %if.then9
i64 4, label %if.then14
]
Note that LLVM's own DenseMap uses magic pointers.
llvm-svn: 95439
|
| |
|
|
|
|
| |
malloc caller in a profile.
llvm-svn: 95407
|
| |
|
|
|
|
|
| |
The testcase from pr6198 does not crash for me -- I don't know what's up with
that -- so I'm not adding it to the tests.
llvm-svn: 94984
|
| |
|
|
|
|
|
| |
unconditionally. Besides checking the offset, also check that the underlying
object is aligned as much as the load itself.
llvm-svn: 94875
|
| |
|
|
| |
llvm-svn: 94835
|
| |
|
|
|
|
|
| |
indices are safe if the result is known to be within the bounds of the
underlying object.
llvm-svn: 94829
|
| |
|
|
| |
llvm-svn: 94763
|
| |
|
|
|
|
|
| |
This was already being done in SSAUpdater::GetValueAtEndOfBlock so I've
just changed SSAUpdater to check for existing PHIs in both places.
llvm-svn: 94690
|
| |
|
|
| |
llvm-svn: 94684
|
| |
|
|
| |
llvm-svn: 94649
|
| |
|
|
| |
llvm-svn: 94648
|
| |
|
|
|
|
| |
metadata to dbg.value
llvm-svn: 94634
|
| |
|
|
| |
llvm-svn: 94618
|
| |
|
|
| |
llvm-svn: 94567
|
| |
|
|
|
|
| |
associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store.
llvm-svn: 94493
|
| |
|
|
| |
llvm-svn: 94432
|
| |
|
|
| |
llvm-svn: 94378
|
| |
|
|
|
|
| |
associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store
llvm-svn: 94260
|
| |
|
|
| |
llvm-svn: 94194
|
| |
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
| |
|
|
| |
llvm-svn: 94114
|
| |
|
|
| |
llvm-svn: 94113
|
| |
|
|
|
|
| |
looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics()
llvm-svn: 94111
|