Skip to content
  1. Aug 06, 2013
    • Tom Stellard's avatar
      R600: Implement TargetLowering::getVectorIdxTy() · 28d06de6
      Tom Stellard authored
      We use MVT::i32 for the vector index type, because we use 32-bit
      operations to caculate offsets when dynamically indexing vectors.
      
      llvm-svn: 187749
      28d06de6
    • Tom Stellard's avatar
      TargetLowering: Add getVectorIdxTy() function v2 · d42c5949
      Tom Stellard authored
      This virtual function can be implemented by targets to specify the type
      to use for the index operand of INSERT_VECTOR_ELT, EXTRACT_VECTOR_ELT,
      INSERT_SUBVECTOR, EXTRACT_SUBVECTOR.  The default implementation returns
      the result from TargetLowering::getPointerTy()
      
      The previous code was using TargetLowering::getPointerTy() for vector
      indices, because this is guaranteed to be legal on all targets.  However,
      using TargetLowering::getPointerTy() can be a problem for targets with
      pointer sizes that differ across address spaces.  On such targets,
      when vectors need to be loaded or stored to an address space other than the
      default 'zero' address space (which is the address space assumed by
      TargetLowering::getPointerTy()), having an index that
      is a different size than the pointer can lead to inefficient
      pointer calculations, (e.g. 64-bit adds for a 32-bit address space).
      
      There is no intended functionality change with this patch.
      
      llvm-svn: 187748
      d42c5949
    • Eric Christopher's avatar
      Revert "Use existing builtin hashing functions to make this routine more" · 432c99af
      Eric Christopher authored
      This reverts commit r187745.
      
      llvm-svn: 187747
      432c99af
    • Eric Christopher's avatar
      Use existing builtin hashing functions to make this routine more · d728355a
      Eric Christopher authored
      simple.
      
      llvm-svn: 187745
      d728355a
  2. Aug 05, 2013
  3. Aug 04, 2013
  4. Aug 03, 2013
  5. Aug 02, 2013
Loading