1. Oct 04, 2015
    • Tobias Grosser's avatar
      BlockGenerator: Use AssertingVH in maps · e9cb5a09
      Tobias Grosser authored
      By using asserting value handles, we will get assertions when we forget to clear
      any of the Value maps instead of difficult to debug undefined behavior.
      
      llvm-svn: 249237
      e9cb5a09
    • Simon Pilgrim's avatar
      [DAGCombiner] Merge SIGN_EXTEND_INREG vector constant folding methods. NCI. · a38d76a0
      Simon Pilgrim authored
      visitSIGN_EXTEND_INREG calls SelectionDAG::getNode to constant fold scalar constants but handles vector constants itself, despite getNode being capable of dealing with them.
      
      This required a minor change to the getNode implementation to actually deal with cases where the scalars of a BUILD_VECTOR were wider integers than the vector type - which was the only extra ability of the visitSIGN_EXTEND_INREG implementation.
      
      No codegen intended and all existing tests remain the same.
      
      llvm-svn: 249236
      a38d76a0
  2. Oct 03, 2015