[PATCH] D18593: [PowerPC] Front end improvements for vec_splat
    amehsan via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr  4 08:55:30 PDT 2016
    
    
  
amehsan added a comment.
@nemanjai I was just thinking of something else :)
If we have a runtime value for the second parameter, do we know that this code is an improvement over the previous implementation? (Specially if values of the runtime parameter has more or less equal frequency which code result in a lot of mispredicted branches.)
Something else to consider: (I have not yet checked it). If we specialize vec_perm implementation for vec_splat with runtime values, can we improve it? If yes, how would that compare to the current implementation.
Repository:
  rL LLVM
http://reviews.llvm.org/D18593
    
    
More information about the llvm-commits
mailing list