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
    • 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 20, 2012
  4. Jan 17, 2012
  5. Jan 14, 2012
  6. Jan 13, 2012
  7. Jan 07, 2012
  8. Jan 06, 2012
  9. Dec 20, 2011
  10. Dec 17, 2011
  11. Dec 14, 2011
  12. Dec 13, 2011
  13. Dec 12, 2011
  14. Dec 07, 2011
  15. Dec 06, 2011
    • Jakob Stoklund Olesen's avatar
      Use logarithmic units for basic block alignment. · 10e12522
      Jakob Stoklund Olesen authored
      This was actually a bit of a mess. TLI.setPrefLoopAlignment was clearly
      documented as taking log2(bytes) units, but the x86 target would still
      set a preferred loop alignment of '16'.
      
      CodePlacementOpt passed this number on to the basic block, and
      AsmPrinter interpreted it as bytes.
      
      Now both MachineFunction and MachineBasicBlock use logarithmic
      alignments.
      
      Obviously, MachineConstantPool still measures alignments in bytes, so we
      can emulate the thrill of using as.
      
      llvm-svn: 145889
      10e12522
  16. Dec 04, 2011
  17. Dec 02, 2011
    • Nick Lewycky's avatar
      Move global variables in TargetMachine into new TargetOptions class. As an API · 50f02cb2
      Nick Lewycky authored
      change, now you need a TargetOptions object to create a TargetMachine. Clang
      patch to follow.
      
      One small functionality change in PTX. PTX had commented out the machine
      verifier parts in their copy of printAndVerify. That now calls the version in
      LLVMTargetMachine. Users of PTX who need verification disabled should rely on
      not passing the command-line flag to enable it.
      
      llvm-svn: 145714
      50f02cb2
  18. Nov 29, 2011
  19. Nov 18, 2011
  20. Nov 16, 2011
  21. Nov 15, 2011
    • Rafael Espindola's avatar
      We currently use a callback to handle an IL pass deleting a BB that still · f11e7f13
      Rafael Espindola authored
      has a reference to it. Unfortunately, that doesn't work for codegen passes
      since we don't get notified of MBB's being deleted (the original BB stays).
      
      Use that fact to our advantage and after printing a function, check if
      any of the IL BBs corresponds to a symbol that was not printed. This fixes
      pr11202.
      
      llvm-svn: 144674
      f11e7f13
  22. Nov 12, 2011
    • Rafael Espindola's avatar
      The dwarf standard says that the only differences between a out-of-line · e7cc8bff
      Rafael Espindola authored
      instance and a concrete inlined instance are the use of DW_TAG_subprogram
      instead of DW_TAG_inlined_subroutine and the who owns the tree.
      
      We were also omitting DW_AT_inline from the abstract roots. To fix this,
      make sure we mark abstract instance roots with DW_AT_inline even when
      we have only out-of-line instances referring to them with DW_AT_abstract_origin.
      
      FileCheck is not a very good tool for tests like this, maybe we should add
      a -verify mode to llvm-dwarfdump.
      
      llvm-svn: 144441
      e7cc8bff
  23. Nov 11, 2011
Loading