Skip to content
  1. Apr 10, 2013
  2. Apr 09, 2013
    • Chad Rosier's avatar
      Cleanup. No functional change intended. · 18785857
      Chad Rosier authored
      llvm-svn: 179129
      18785857
    • Chad Rosier's avatar
      Cleanup. No functional change intended. · 10d1d1cc
      Chad Rosier authored
      llvm-svn: 179125
      10d1d1cc
    • Rafael Espindola's avatar
      Remove unused method and default values. · 1b276c5c
      Rafael Espindola authored
      llvm-svn: 179124
      1b276c5c
    • Eric Christopher's avatar
      Update the version of dwarf we say we're emitting to at least 3. · 06c89d65
      Eric Christopher authored
      Deals with a dwarf2 -> dwarf3 DW_FORM_ref_addr change.
      
      llvm-svn: 179122
      06c89d65
    • Chad Rosier's avatar
      Revert r179115 as it looks to have killed the ASan tests. · e8d8288d
      Chad Rosier authored
      llvm-svn: 179120
      e8d8288d
    • Chandler Carruth's avatar
      Rationalize the formatting of these case labels. Having two sorted · 9f6b59ae
      Chandler Carruth authored
      columns is essentially impossible to edit.
      
      llvm-svn: 179119
      9f6b59ae
    • Reed Kotler's avatar
      This patch enables llvm to switch between compiling for mips32/mips64 · 1595f36d
      Reed Kotler authored
      and mips16 on a per function basis.
      
      Because this patch is somewhat involved I have provide an overview of the
      key pieces of it.
      
      The patch is written so as to not change the behavior of the non mixed
      mode. We have tested this a lot but it is something new to switch subtargets
      so we don't want any chance of regression in the mainline compiler until
      we have more confidence in this.
      
      Mips32/64 are very different from Mip16 as is the case of ARM vs Thumb1.
      For that reason there are derived versions of the register info, frame info, 
      instruction info and instruction selection classes.
      
      Now we register three separate passes for instruction selection.
      One which is used to switch subtargets (MipsModuleISelDAGToDAG.cpp) and then
      one for each of the current subtargets (Mips16ISelDAGToDAG.cpp and
      MipsSEISelDAGToDAG.cpp).
      
      When the ModuleISel pass runs, it determines if there is a need to switch
      subtargets and if so, the owning pointers in MipsTargetMachine are
      appropriately changed.
      
      When 16Isel or SEIsel is run, they will return immediately without doing
      any work if the current subtarget mode does not apply to them.
      
      In addition, MipsAsmPrinter needs to be reset on a function basis.
      
      The pass BasicTargetTransformInfo is substituted with a null pass since the
      pass is immutable and really needs to be a function pass for it to be
      used with changing subtargets. This will be fixed in a follow on patch.
      
      llvm-svn: 179118
      1595f36d
Loading