1. Nov 25, 2019
    • Seiya Nuta's avatar
      [llvm-objcopy][MachO] Implement --dump-section · d72a8a4d
      Seiya Nuta authored
      Reviewers: alexshap, rupprecht, jhenderson
      
      Reviewed By: alexshap, rupprecht, jhenderson
      
      Subscribers: MaskRay, jakehehrlich, abrachet, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D66408
      d72a8a4d
    • Petr Hosek's avatar
      [CMake] Use correct include path for InstrProfData.inc on Darwin · e8a4e589
      Petr Hosek authored
      On Darwin, part of the profile runtime is included in the builtin
      library. f35032e0 changed the location of InstrProfData.inc but the
      builtin build for Darwin hasn't been updated to include the new
      path which causes a breakage when building for Darwin. This change
      addresses this breakage.
      e8a4e589
    • Florian Hahn's avatar
      Recommit f0c2a5af "[LV] Generalize conditions for sinking instrs for first order recurrences." · 9d24933f
      Florian Hahn authored
      This version contains 2 fixes for reported issues:
      1. Make sure we do not try to sink terminator instructions.
      2. Make sure we bail out, if we try to sink an instruction that needs to
         stay in place for another recurrence.
      
      Original message:
      If the recurrence PHI node has a single user, we can sink any
      instruction without side effects, given that all users are dominated by
      the instruction computing the incoming value of the next iteration
      ('Previous'). We can sink instructions that may cause traps, because
      that only causes the trap to occur later, but not on any new paths.
      
      With the relaxed check, we also have to make sure that we do not have a
      direct cycle (meaning PHI user == 'Previous), which indicates a
      reduction relation, which potentially gets missed by
      ReductionDescriptor.
      
      As follow-ups, we can also sink stores, iff they do not alias with
      other instructions we move them across and we could also support sinking
      chains of instructions and multiple users of the PHI.
      
      Fixes PR43398.
      
      Reviewers: hsaito, dcaballe, Ayal, rengolin
      
      Reviewed By: Ayal
      
      Differential Revision: https://reviews.llvm.org/D69228
      9d24933f
    • Simon Atanasyan's avatar
      1de788a1
    • Florian Hahn's avatar
      [LoopInterchange] Adjust assertions when updating successors. · 9a432161
      Florian Hahn authored
      Currently the assertion in updateSuccessor is overly strict in some
      cases and overly relaxed in other cases. For branches to the inner and
      outer loop preheader it is too strict, because they can either be
      unconditional branches or conditional branches with duplicate targets.
      Both cases are fine and we can allow updating multiple successors.
      
      On the other hand, we have to at least update one successor. This patch
      adds such an assertion.
      9a432161
    • Dávid Bolvanský's avatar
    • Dávid Bolvanský's avatar
      [Diagnostics] Warn for comparison with string literals expanded from macro (PR44064) · ba401767
      Dávid Bolvanský authored
      Summary:
      As noted in PR, we have a poor test coverage for this warning. I think macro support was just overlooked. GCC warns in these cases.
      Clang missed a real bug in the code I am working with, GCC caught it.
      
      Reviewers: aaron.ballman
      
      Reviewed By: aaron.ballman
      
      Subscribers: cfe-commits
      
      Tags: #clang
      
      Differential Revision: https://reviews.llvm.org/D70624
      ba401767
  2. Nov 24, 2019
  3. Nov 23, 2019