Skip to content
  1. Jan 24, 2012
    • Chris Lattner's avatar
      Add AsmPrinter (aka MCLowering) support for ConstantDataSequential, · 5d4497bf
      Chris Lattner authored
      and clean up some other misc stuff.  Unlike ConstantArray, we will
      prefer to emit .fill directives for "String" arrays that all have
      the same value, since they are denser than emitting a .ascii
      
      llvm-svn: 148793
      5d4497bf
    • Jakob Stoklund Olesen's avatar
      Preserve <def,undef> flags in CoalesceExtSubRegs. · c46534a0
      Jakob Stoklund Olesen authored
      This won't have an effect until EliminateRegSequences() starts setting
      the undef flags.
      
      llvm-svn: 148779
      c46534a0
    • Chandler Carruth's avatar
      Revert r148686 (and r148694, a fix to it) due to a serious layering · ed975232
      Chandler Carruth authored
      violation -- MC cannot depend on CodeGen.
      
      Specifically, the MCTargetDesc component of each target is actually
      a subcomponent of the MC library. As such, it cannot depend on the
      target-independent code generator, because MC itself cannot depend on
      the target-independent code generator. This change moved a flag from the
      ARM MCTargetDesc file ARMMCAsmInfo.cpp to the CodeGen layer in
      ARMException.cpp, leaving behind an 'extern' to refer back to it. That
      layering order isn't viable givin the constraints outlined above.
      Commandline flags are designed to be static specifically to avoid these
      types of bugs.
      
      Fixing this is likely going to require some non-trivial refactoring.
      
      llvm-svn: 148759
      ed975232
  2. Jan 23, 2012
  3. Jan 22, 2012
  4. Jan 21, 2012
    • Evan Cheng's avatar
      Fix an obvious typo. · 64a2beca
      Evan Cheng authored
      llvm-svn: 148622
      64a2beca
    • Jakob Stoklund Olesen's avatar
      Handle register masks in LiveVariables. · 8e3bb315
      Jakob Stoklund Olesen authored
      A register mask operand kills any live physreg that isn't preserved.
      Unlike an implicit-def operand, the clobbered physregs are never live
      afterwards.
      
      This means LiveVariables has to track a much smaller number of live
      physregs, and it should spend much less time in addRegisterDead().
      
      llvm-svn: 148609
      8e3bb315
  5. Jan 20, 2012
    • Jakob Stoklund Olesen's avatar
      Delete an unused member variable. · 52ee45d6
      Jakob Stoklund Olesen authored
      llvm-svn: 148594
      52ee45d6
    • Jakob Stoklund Olesen's avatar
      Support register masks in MachineLICM. · 6b17ef58
      Jakob Stoklund Olesen authored
      Only PostRA LICM is affected.
      
      llvm-svn: 148589
      6b17ef58
    • Jakob Stoklund Olesen's avatar
      Handle register masks in DeadMachineInstructionElim. · 58614f2f
      Jakob Stoklund Olesen authored
      Don't track live physregs that are clobbered by a register mask operand.
      
      llvm-svn: 148588
      58614f2f
    • David Blaikie's avatar
      More dead code removal (using -Wunreachable-code) · 46a9f016
      David Blaikie authored
      llvm-svn: 148578
      46a9f016
    • Kostya Serebryany's avatar
      Extend Attributes to 64 bits · a5054ad2
      Kostya Serebryany authored
      Problem: LLVM needs more function attributes than currently available (32 bits).
      One such proposed attribute is "address_safety", which shows that a function is being checked for address safety (by AddressSanitizer, SAFECode, etc).
      
      Solution:
      - extend the Attributes from 32 bits to 64-bits
      - wrap the object into a class so that unsigned is never erroneously used instead
      - change "unsigned" to "Attributes" throughout the code, including one place in clang.
      - the class has no "operator uint64 ()", but it has "uint64_t Raw() " to support packing/unpacking.
      - the class has "safe operator bool()" to support the common idiom:  if (Attributes attr = getAttrs()) useAttrs(attr);
      - The CTOR from uint64_t is marked explicit, so I had to add a few explicit CTOR calls
      - Add the new attribute "address_safety". Doing it in the same commit to check that attributes beyond first 32 bits actually work.
      - Some of the functions from the Attribute namespace are worth moving inside the class, but I'd prefer to have it as a separate commit.
      
      Tested:
      "make check" on Linux (32-bit and 64-bit) and Mac (10.6)
      built/run spec CPU 2006 on Linux with clang -O2.
      
      
      This change will break clang build in lib/CodeGen/CGCall.cpp.
      The following patch will fix it.
      
      llvm-svn: 148553
      a5054ad2
    • Bill Wendling's avatar
      When lowering the 'resume' instruction, look to see if we can eliminate the · 92492618
      Bill Wendling authored
      'insertvalue' instructions that recreate the structure returned by the
      'landingpad' instruction. Because the 'insertvalue' instruction isn't supported
      by FastISel, this can save a bit of time during -O0 compilation.
      
      llvm-svn: 148520
      92492618
  6. Jan 19, 2012
  7. Jan 18, 2012
  8. Jan 17, 2012
  9. Jan 16, 2012
Loading