Skip to content
  1. Mar 22, 2013
    • Chandler Carruth's avatar
      Revert r177543: Add timing of the IR parsing code with a new · 0a9875ab
      Chandler Carruth authored
      -time-ir-parsing flag
      
      This breaks the layering of the Support library. We can't add an
      implementation side to IRReader because it refers directly to entities
      only accessible as part of the IR, AsmParser, and BitcodeReader
      libraries. It can only be used in a context where all of those libraries
      will be available.
      
      We'll need to find some other way to get this functionality, and
      hopefully solve the long-standing layering problem of IRReader.h...
      
      llvm-svn: 177695
      0a9875ab
    • Jack Carter's avatar
      Fix the invalid opcode for Mips branch instructions in the assembler · 4f69a0f2
      Jack Carter authored
      For mips a branch an 18-bit signed offset (the 16-bit 
      offset field shifted left 2 bits) is added to the 
      address of the instruction following the branch 
      (not the branch itself), in the branch delay slot, 
      to form a PC-relative effective target address. 
      
      Previously, the code generator did not perform the 
      shift of the immediate branch offset which resulted 
      in wrong instruction opcode. This patch fixes the issue.
      
      Contributor: Vladimir Medic
      llvm-svn: 177687
      4f69a0f2
    • Jack Carter's avatar
      This patch that enables the Mips assembler to use symbols for offset for instructions · 9e65aa35
      Jack Carter authored
      This patch uses the generated instruction info tables to 
      identify memory/load store instructions.
      After successful matching and based on the operand type 
      and size, it generates additional instructions to the output.
      
      Contributor: Vladimir Medic
      llvm-svn: 177685
      9e65aa35
    • Hal Finkel's avatar
      Remove the G8RC_NOX0_and_GPRC_NOR0 PPC register class · f70c41ea
      Hal Finkel authored
      As Jakob pointed out in his review of r177423, having a shared ZERO
      register between the 32- and 64-bit register classes causes this
      odd G8RC_NOX0_and_GPRC_NOR0 class to be created. As recommended,
      this adds a ZERO8 register which differentiates the 32- and 64-bit
      zeros.
      
      No functionality change intended.
      
      llvm-svn: 177683
      f70c41ea
    • Sean Silva's avatar
      Add TableGen ctags(1) emitter and helper script. · cdd21b33
      Sean Silva authored
      To use this in conjunction with exuberant ctags to generate a single
      combined tags file, run tblgen first and then
        $ ctags --append [...]
      
      Since some identifiers have corresponding definitions in C++ code,
      it can be useful (if using vim) to also use cscope, and
        :set cscopetagorder=1
      so that
        :tag X
      will preferentially select the tablegen symbol, while
        :cscope find g X
      will always find the C++ symbol.
      
      Patch by Kevin Schoedel!
      
      (a couple small formatting changes courtesy of clang-format)
      
      llvm-svn: 177682
      cdd21b33
    • Bill Wendling's avatar
      Always forward 'resume' instructions to the outter landing pad. · 173c71ff
      Bill Wendling authored
      How did this ever work?
      
      Basically, if you have a function that's inlined into the caller, it may not
      have any 'call' instructions, but any 'resume' instructions it may have should
      still be forwarded to the outer (caller's) landing pad. This requires that all
      of the 'landingpad' instructions in the callee have their clauses merged with
      the caller's outer 'landingpad' instruction (hence the bit of ugly code in the
      `forwardResume' method).
      
      Testcase in a follow commit to the test-suite repository.
      
      <rdar://problem/13360379> & PR15555
      
      llvm-svn: 177680
      173c71ff
    • Hal Finkel's avatar
      Fix a register-class comparison bug in PPCCTRLoops · 891671af
      Hal Finkel authored
      Thanks to Jakob for isolating the underlying problem from the
      test case in r177423. The original commit had introduced
      asymmetric copy operations, but these turned out to be a work-around
      to the real problem (the use of == instead of hasSubClassEq in PPCCTRLoops).
      
      llvm-svn: 177679
      891671af
    • David Blaikie's avatar
      Refactor the filename/directory information in DISubprogram to refer directly... · 5ef3fcb7
      David Blaikie authored
      Refactor the filename/directory information in DISubprogram to refer directly to the pair rather than the DIFile.
      
      llvm-svn: 177677
      5ef3fcb7
    • Bill Wendling's avatar
      Add a query to tell if a landing pad has a catch-all. · d254ab22
      Bill Wendling authored
      llvm-svn: 177675
      d254ab22
  2. Mar 21, 2013
  3. Mar 20, 2013
Loading