Commits

Show all
Author Commit Message Labels Comments Date
Dan Gohman
In CodeGenPrepare's debug output, use WriteAsOperand instead of printing getName(), so that unnamed values are printed correctly.
Tags
2 tags
Dan Gohman
Complete the sentance in this comment. I have reservations about the code it describes, but at least now the comment is right.
Duncan Sands
Correct a comment: since AccessArguments is now 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.
Duncan Sands
If a function only reads memory, then we know that... it only reads memory! The other change has no functional effect, it just seems more logical to go in order of decreasing knowledge.
Nick Lewycky
Mark strto* as readonly when the endptr is null.
Nick Lewycky
On strtod and friends, mark 'endptr' nocapture in the function prototype, and mark the first argument nocapture if endptr=NULL for each particular call.
Duncan Sands
Reapply r64301. These uses of "inline" can cause strange link-time failures when building with optimization. Just get rid of them.
Evan Cheng
Switch from new[] + delete[] to malloc + free since llvm does not catch C++ exceptions.
Evan Cheng
If new[] fails, return 0 rather then trying to dereference a null pointer.
Nick Lewycky
Reapply r64300: 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.
Nick Lewycky
BasicAA was making the assumption that a local allocation which hadn't escaped 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.
Dan Gohman
Fix the code that checked if a SCEVAddRecExpr Start contains an 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.
Dale Johannesen
Remove non-DebugLoc versions of BuildMI. "I got blisters on my fingers."
Dale Johannesen
Remove non-DebugLoc versions of BuildMI from IA64, Mips.
Dale Johannesen
Remove non-DebugLoc versions of BuildMI from X86. There were some that might even matter in X86FastISel.
Dale Johannesen
missed file
Dale Johannesen
Remove non-DebugLoc versions of buildMI from Sparc.
Dale Johannesen
Remove non-DebugLoc versions of BuildMI from Alpha and Cell.
Dale Johannesen
Remove refs to non-DebugLoc version of BuildMI from XCore, PIC16.
Dale Johannesen
Remove refs to non-DebugLoc version of BuildMI from PowerPC.
Dale Johannesen
and one more file
Dale Johannesen
Remove refs to non-DebugLoc versions of BuildMI from ARM.
Bill Wendling
Revert this. It was breaking stuff.
Bill Wendling
Turn off the old way of handling debug information in the code generator. Use the new way, where all of the information is passed on SDNodes and machine instructions.
Dan Gohman
Fix LSR's IV sorting function to explicitly sort by bitwidth after sorting by stride value. This prevents it from missing IV reuse opportunities in a host-sensitive manner.
Mike Stump
Avoid order files for now, as they aren't supported in 3.79.
Dale Johannesen
Check in missing file.
Dale Johannesen
Eliminate a couple of non-DebugLoc BuildMI variants. Modify callers.
Dan Gohman
Teach IndVarSimplify to optimize code using the C "int" type for loop induction on LP64 targets. When the induction variable is used in addressing, IndVars now is usually able to inserst a 64-bit induction variable and eliminates the sign-extending cast. This is also useful for code using C "short" types for induction variables on targets with 32-bit addressing. Inserting a wider induction variable is easy; the tricky part is determining when trunc(sext(i)) expressions are no-ops. This requires range analysis of the loop trip count. A common case is when the original loop iteration starts at 0 and exits when the induction variable is signed-less-than a fixed value; this case is now handled. This replaces IndVarSimplify's OptimizeCanonicalIVType. It was d…
Nate Begeman
Add suppport for ConstantExprs of shufflevectors whose result type is not equal to the type of the vectors being shuffled.
  1. Prev
  2. Next