Skip to content
  1. Nov 05, 2013
    • Yuchen Wu's avatar
      Added basic unit test for llvm-cov. · 0b8e9a14
      Yuchen Wu authored
      This test compares the output of llvm-cov against a coverage file
      generated by gcov.
      
      llvm-svn: 194038
      0b8e9a14
    • Yuchen Wu's avatar
      llvm-cov: Added command-line option to change dir. · 446e991f
      Yuchen Wu authored
      This will allow for much easier testing when the input files are in a
      different folder from the test script.
      
      llvm-svn: 194034
      446e991f
    • Yuchen Wu's avatar
      Support for reading run counts in llvm-cov. · 30672d90
      Yuchen Wu authored
      This patch enables llvm-cov to correctly output the run count stored in
      the GCDA file. GCOVProfiling currently does not generate this
      information, so the GCDA run data had to be hacked on from a GCDA file
      generated by gcc. This is corrected by a subsequent patch.
      
      With the run and program data included, both llvm-cov and gcov produced
      the same output.
      
      llvm-svn: 194033
      30672d90
    • Rafael Espindola's avatar
      Fix MSVC build by not putting an error_code directly in a union. · 2bad63c3
      Rafael Espindola authored
      llvm-svn: 194032
      2bad63c3
    • Rafael Espindola's avatar
      Simplify ErrorOr. · ca35ffe6
      Rafael Espindola authored
      ErrorOr had quiet a bit of complexity and indirection to be able to hold a user
      type with the error.
      
      That feature is not used anymore. This patch removes it, it will live in svn
      history if we ever need it again.
      
      If we do need it again, IMHO there is one thing that should be done
      differently: Holding extra info in the error is not a property a function also
      returning a value or not. The ability to hold extra info should be in the error
      type and ErrorOr templated over it so that we don't need the funny looking
      ErrorOr<void>.
      
      llvm-svn: 194030
      ca35ffe6
    • Hal Finkel's avatar
      Add a runtime unrolling parameter to the LoopUnroll pass constructor · 081eaef6
      Hal Finkel authored
      As with the other loop unrolling parameters (the unrolling threshold, partial
      unrolling, etc.) runtime unrolling can now also be controlled via the
      constructor. This will be necessary for moving non-trivial unrolling late in
      the pass manager (after loop vectorization).
      
      No functionality change intended.
      
      llvm-svn: 194027
      081eaef6
    • NAKAMURA Takumi's avatar
      Revert r194019 to r194021, "Submit the basic port of the rest of ARM constant... · 5267613e
      NAKAMURA Takumi authored
      Revert r194019 to r194021, "Submit the basic port of the rest of ARM constant islands code to Mips."
      
      It broke -Asserts build.
      
      llvm-svn: 194026
      5267613e
    • Tim Northover's avatar
      ARM: remove unnecessary state-tracking during frame lowering. · c9432eb9
      Tim Northover authored
      ResolveFrameIndex had what appeared to be a very nasty hack for when the
      frame-index referred to a callee-saved register. In this case it "adjusted" the
      offset so that the address was correct if (and only if) the MachineInstr
      immediately followed the respective push.
      
      This "worked" for all forms of GPR & DPR but was only ever used to set the
      frame pointer itself, and once this was put in a more sensible location the
      entire state-tracking machinery it relied on became redundant. So I stripped
      it.
      
      The only wrinkle is that "add r7, sp, #0" might theoretically be slower (need
      an actual ALU slot) compared to "mov r7, sp" so I added a micro-optimisation
      that also makes emitARMRegUpdate and emitT2RegUpdate also work when NumBytes ==
      0.
      
      No test changes since there shouldn't be any functionality change.
      
      llvm-svn: 194025
      c9432eb9
    • Tim Northover's avatar
      AArch64: use default asm operand printing when modifier inapplicable · ace0bd4d
      Tim Northover authored
      If an inline assembly operand has multiple constraints (e.g. "Ir" for immediate
      or register) and an operand modifier (E.g. "w" for "print register as wN") then
      we need to decide behaviour when the modifier doesn't apply to the constraint.
      
      Previousely produced some combination of an assertion failure and a fatal
      error. GCC's behaviour appears to be to ignore the modifier and print the
      operand in the default way. This patch should implement that.
      
      llvm-svn: 194024
      ace0bd4d
  2. Nov 04, 2013
  3. Nov 03, 2013
Loading