Skip to content
  1. Mar 26, 2015
  2. Mar 25, 2015
    • Nico Weber's avatar
      Fix typo in comment. · cf07c65b
      Nico Weber authored
      llvm-svn: 233226
      cf07c65b
    • Sanjoy Das's avatar
      [ValueTracking] Fix PR23011. · e561fee2
      Sanjoy Das authored
      Summary:
      `ComputeNumSignBits` returns incorrect results for `srem` instructions.
      This change fixes the issue and adds a test case.
      
      Reviewers: nadav, nicholas, atrick
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8600
      
      llvm-svn: 233225
      e561fee2
    • Simon Pilgrim's avatar
      [DAGCombiner] Add support for TRUNCATE + FP_EXTEND vector constant folding · 09f3ff9a
      Simon Pilgrim authored
      This patch adds supports for the vector constant folding of TRUNCATE and FP_EXTEND instructions and tidies up the SINT_TO_FP and UINT_TO_FP instructions to match.
      
      It also moves the vector constant folding for the FNEG and FABS instructions to use the DAG.getNode() functionality like the other unary instructions.
      
      Differential Revision: http://reviews.llvm.org/D8593
      
      llvm-svn: 233224
      09f3ff9a
    • Duncan P. N. Exon Smith's avatar
      Linker: Stop using -gmlt test/Linker/subprogram-linkonce-weak.ll · bb2958a0
      Duncan P. N. Exon Smith authored
      As dblaikie pointed out, if I stop setting `emissionKind: 2` then the
      backend won't do magical things on Linux vs. Darwin.  I had wrongly
      assumed that there were stricter requirements on the input if we weren't
      in line-tables-only mode, but apparently not.
      
      With that knowledge, clean up this testcase a little more.
      
        - Set `emissionKind: 1`.
        - Add back checks for the weak version of @foo.
        - Check more robustly that we have the right subprograms by checking
          the `DW_AT_decl_file` and `DW_AT_decl_line` which now show up.
        - Check the line table in isolation (since it's no longer doubling as
          an indirect test for the subprogram of the weak version of @foo).
      
      llvm-svn: 233221
      bb2958a0
    • Andrew Kaylor's avatar
      Fix remaining MSVC warning · 51fcf0fc
      Andrew Kaylor authored
      llvm-svn: 233220
      51fcf0fc
    • Matthias Braun's avatar
      RegisterCoalescer: Fix implicit def handling in register coalescer · 5d27ef64
      Matthias Braun authored
      If liveranges induced by an IMPLICIT_DEF get completely covered by a
      proper liverange the IMPLICIT_DEF instructions and its corresponding
      definitions have to be removed from the live ranges. This has to happen
      in the subregister live ranges as well (I didn't see this case earlier
      because in most programs only some subregisters are covered and the
      IMPLCIT_DEF won't get removed).
      
      No testcase, I spent hours trying to create one for one of the public
      targets, but ultimately failed because I couldn't manage to properly
      control the placement of COPY and IMPLICIT_DEF instructions from an .ll
      file.
      
      llvm-svn: 233217
      5d27ef64
    • Matthias Braun's avatar
      e962e52a
    • Duncan P. N. Exon Smith's avatar
      Linker: Loosen checks slightly from r233207 · c6d5cfe1
      Duncan P. N. Exon Smith authored
      According to at least one bot [1], function prologues aren't always
      empty for these functions.  Skip that part of the follow-up check.
      
      llvm-svn: 233214
      c6d5cfe1
    • Krzysztof Parzyszek's avatar
      Revert r233206 · 6001847e
      Krzysztof Parzyszek authored
      llvm-svn: 233213
      6001847e
    • Reid Kleckner's avatar
      WinEH: Create an unwind help alloca for __CxxFrameHandler3 xdata tables · 7e9546b3
      Reid Kleckner authored
      We don't have any logic to emit those tables yet, so the sdag lowering
      of this intrinsic is just a stub. We can see the intrinsic in the
      prepared IR, though.
      
      llvm-svn: 233209
      7e9546b3
    • Duncan P. N. Exon Smith's avatar
      Linker: Rewrite dwarfdump checks from r233164 · f9dc7036
      Duncan P. N. Exon Smith authored
      Rewrite the checks from r233164 that I temporarily disabled in r233165.
      
      It turns out that the line-tables only debug info we emit from `llc` is
      (intentionally) different on Linux than on Darwin.  r218129 started
      skipping emission of subprograms with no inlined subroutines, and
      r218702 was a spiritual revert of that behaviour for Darwin.
      
      I think we can still test this in a platform-neutral way.
      
        - Stop checking for the possibly missing `DW_TAG_subprogram` defining
          the debug info for the real version of `@foo`.
        - Start checking the line tables, ensuring that the right debug info
          was used to generate them (grabbing `DW_AT_low_pc` from the compile
          unit).
        - I changed up the line numbers used in the "weak" version so it's
          easier to follow.
      
      This should hopefully finish off PR22792.
      
      llvm-svn: 233207
      f9dc7036
    • Krzysztof Parzyszek's avatar
      [Hexagon] Keep the bare getSubtargetImpl for now · 62b41b94
      Krzysztof Parzyszek authored
      llvm-svn: 233206
      62b41b94
Loading