- Feb 15, 2009
-
-
Evan Cheng authored
llvm-svn: 64582
-
Evan Cheng authored
Fix pr3571: If stride is a value defined by an instruction, make sure it dominates the loop preheader. When IV users are strength reduced, the stride is inserted into the preheader. It could create a use before def situation. llvm-svn: 64579
-
Evan Cheng authored
llvm-svn: 64575
-
Mikhail Glushenkov authored
"system() declared with attribute warn_unused_result." llvm-svn: 64574
-
Mikhail Glushenkov authored
llvm-svn: 64573
-
- Feb 14, 2009
-
-
Cedric Venet authored
llvm-svn: 64555
-
Cedric Venet authored
Cleanup some warning. Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync. Only tested with VS2008. hope it does not break anything. feel free to revert. llvm-svn: 64554
-
Duncan Sands authored
intrinsics to any IntrWriteArgMem intrinsics. llvm-svn: 64551
-
Mikhail Glushenkov authored
llvm-svn: 64550
-
Duncan Sands authored
now that this no longer implies nocapture. llvm-svn: 64540
-
Duncan Sands authored
taken advantage of anywhere. Change the definition of IntrWriteArgMem to no longer imply nocapture, and explicitly add nocapture attributes everywhere (well, not quite everywhere, because some of these intrinsics did capture their arguments!). Also, make clear that the lack of other side-effects does not exclude doing volatile loads or stores - the atomic intrinsics do these, yet they are all marked IntrWriteArgMem (this change is safe because nothing exploited it). llvm-svn: 64539
-
Dan Gohman authored
llvm-svn: 64535
-
Dan Gohman authored
- Test for signed and unsigned wrapping conditions, instead of just testing for non-negative induction ranges. - Handle loops with GT comparisons, in addition to LT comparisons. - Support more cases of induction variables that don't start at 0. llvm-svn: 64532
-
Dan Gohman authored
llvm-svn: 64531
-
Dan Gohman authored
No functionality change. llvm-svn: 64530
-
Dale Johannesen authored
llvm-svn: 64511
-
- Feb 13, 2009
-
-
Evan Cheng authored
llvm-svn: 64496
-
Dan Gohman authored
printing getName(), so that unnamed values are printed correctly. llvm-svn: 64468
-
Dan Gohman authored
about the code it describes, but at least now the comment is right. llvm-svn: 64465
-
Duncan Sands authored
being used for atomic intrinsics, it seems the access may be volatile. No code was exploiting the original non-volatile definition, so only the comment needs changing. llvm-svn: 64464
-
Duncan Sands authored
it only reads memory! The other change has no functional effect, it just seems more logical to go in order of decreasing knowledge. llvm-svn: 64463
-
Nick Lewycky authored
llvm-svn: 64460
-
Nick Lewycky authored
mark the first argument nocapture if endptr=NULL for each particular call. llvm-svn: 64453
-
Duncan Sands authored
link-time failures when building with optimization. Just get rid of them. llvm-svn: 64449
-
Evan Cheng authored
llvm-svn: 64448
-
Evan Cheng authored
llvm-svn: 64444
-
Nick Lewycky authored
Make sure the SCC pass manager initializes any contained function pass managers. Without this, simplify-libcalls would add nocapture attributes when run on its own, but not when run as part of -std-compile-opts or similar. llvm-svn: 64443
-
Nick Lewycky authored
couldn't ever be the return of call instruction. However, it's quite possible that said local allocation is itself the return of a function call. That's what malloc and calloc are for, actually. llvm-svn: 64442
-
Dan Gohman authored
addrec in a different loop to check the value being added to the accumulated Start value, not the Start value before it has the new value added to it. This prevents LSR from going crazy on the included testcase. Dale, please review. llvm-svn: 64440
-
Dale Johannesen authored
"I got blisters on my fingers." llvm-svn: 64439
-
Dale Johannesen authored
llvm-svn: 64438
-
Dale Johannesen authored
There were some that might even matter in X86FastISel. llvm-svn: 64437
-
Dale Johannesen authored
llvm-svn: 64436
-
Dale Johannesen authored
llvm-svn: 64435
-
Dale Johannesen authored
llvm-svn: 64433
-
Dale Johannesen authored
llvm-svn: 64432
-
Dale Johannesen authored
llvm-svn: 64431
-
Dale Johannesen authored
llvm-svn: 64430
-
Dale Johannesen authored
llvm-svn: 64429
-
Bill Wendling authored
llvm-svn: 64428
-