Skip to content
  1. Jul 07, 2020
    • Roman Lebedev's avatar
      [llvm-reduce] Reducing call operand bundles · 05f2b5cc
      Roman Lebedev authored
      Summary:
      This would have been marginally useful to me during/for rG7ea46aee3670981827c04df89b2c3a1cbdc7561b.
      
      With ongoing migration to representing assumes via operand bundles on the assume, this will be gradually more useful.
      
      Reviewers: nickdesaulniers, diegotf, dblaikie, george.burgess.iv, jdoerfert, Tyker
      
      Reviewed By: nickdesaulniers
      
      Subscribers: hiraditya, mgorny, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D83177
      05f2b5cc
    • Roman Lebedev's avatar
      [NFCI][IR] Introduce CallBase::Create() wrapper · 69dca6ef
      Roman Lebedev authored
      Summary:
      It is reasonably common to want to clone some call with different bundles.
      Let's actually provide an interface to do that.
      
      Reviewers: chandlerc, jdoerfert, dblaikie, nickdesaulniers
      
      Reviewed By: nickdesaulniers
      
      Subscribers: llvm-commits, hiraditya
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D83248
      69dca6ef
    • Sameer Arora's avatar
      [llvm-install-name-tool] Merge install-name options · c143900a
      Sameer Arora authored
      This diff merges all options for llvm-install-name-tool under a single
      function processLoadCommands. Also adds another test case for -add_rpath
      option.
      
      Test plan: make check-all
      
      Reviewed by: jhenderson, alexshap, smeenai, Ktwu
      
      Differential Revision: https://reviews.llvm.org/D82812
      c143900a
    • Roman Lebedev's avatar
      [Scalarizer] Centralize instruction DCE · db05f2e3
      Roman Lebedev authored
      As reported in https://reviews.llvm.org/D83101#2133062
      the new visitInsertElementInst()/visitExtractElementInst() functionality
      is causing miscompiles (previously-crashing test added)
      
      It is due to the fact how the infra of Scalarizer is dealing with DCE,
      it was not updated or was it ready for such scalar value forwarding.
      It always assumed that the moment we "scalarized" something,
      it can go away, and did so with prejudice.
      
      But that is no longer safe/okay to do.
      
      Instead, let's prevent it from ever shooting itself into foot,
      and let's just accumulate the instructions-to-be-deleted
      in a vector, and collectively cleanup (those that are *actually* dead)
      them all at the end.
      
      All existing tests are not reporting any new garbage leftovers,
      but maybe it's test coverage issue.
      db05f2e3
    • Craig Topper's avatar
      [X86] Centalize the 'sse4' hack to a single place in X86TargetInfo::setFeatureEnabledImpl. NFCI · c359c5d5
      Craig Topper authored
      Instead of detecting the string in 2 places. Just swap the string
      to 'sse4.1' or 'sse4.2' at the top of the function.
      
      Prep work for a patch to switch the rest of this function to a
      table based system. And I don't want to include 'sse4a' in the
      table.
      c359c5d5
  2. Jul 06, 2020
Loading