Skip to content
  1. Feb 26, 2017
    • Xin Tong's avatar
      [SCCP] Remove manual folding of terminator instructions. · 42ef2177
      Xin Tong authored
      Summary:
      BranchInst, SwitchInst (with non-default case) with Undef as input is not
      possible at this point. As we always default-fold terminator to one target in
      ResolvedUndefsIn and set the input accordingly.
      
      So we should only have constantint/blockaddress here.
      
      If ConstantFoldTerminator fails, that could mean 2 things.
      
      1. ConstantFoldTerminator is doing something unexpected, i.e. not folding on constantint
      or blockaddress and not making blocks that should be dead dead.
      2. This is not a terminator on constantint or blockaddress. Its on a constant or
      overdefined, then this block should not be dead.
      
      In both cases, we should assert.
      
      Reviewers: davide, efriedma, sanjoy
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D30381
      
      llvm-svn: 296281
      42ef2177
    • David L. Jones's avatar
      [X86] Clean up test/CodeGen/X86/2006-03-02-InstrSchedBug.ll · d95c34ab
      David L. Jones authored
      Summary:
      Migrated from grep to FileCheck.
      Re-indented code, removed boilerplate comments.
      Added 'entry' label at beginning of basic block.
      
      Patch by Jorge Gorbe!
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D30320
      
      llvm-svn: 296280
      d95c34ab
    • Nirav Dave's avatar
      Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." · 73cd0194
      Nirav Dave authored
      This reverts commit r296252 until 256-bit operations are more efficiently generated in X86.
      
      llvm-svn: 296279
      73cd0194
    • Rui Ueyama's avatar
      Add a section about how to use ld.lld. · 19ce92e2
      Rui Ueyama authored
      llvm-svn: 296278
      19ce92e2
    • Eric Christopher's avatar
      vec perm can go down either pipeline on P8. · 4a8208c2
      Eric Christopher authored
      No observable changes, spotted while looking at the scheduling description.
      
      llvm-svn: 296277
      4a8208c2
    • Richard Smith's avatar
      Update cxx_dr_status page. · c46fe0d6
      Richard Smith authored
      llvm-svn: 296276
      c46fe0d6
    • Richard Smith's avatar
      C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules... · df054d3d
      Richard Smith authored
      C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules for special member functions.
      
      Essentially, as a base class constructor does not construct virtual bases, such
      a constructor for an abstract class does not need the corresponding base class
      construction to be valid, and likewise for destructors.
      
      This creates an awkward situation: clang will sometimes generate references to
      the complete object and deleting destructors for an abstract class (it puts
      them in the construction vtable for a derived class). But we can't generate a
      "correct" version of these because we can't generate references to base class
      constructors any more (if they're template specializations, say, we might not
      have instantiated them and can't assume any other TU will emit a copy).
      Fortunately, we don't need to, since no correct program can ever invoke them,
      so instead emit symbols that just trap.
      
      We should stop emitting references to these symbols, but still need to emit
      definitions for compatibility.
      
      llvm-svn: 296275
      df054d3d
  2. Feb 25, 2017
Loading