Skip to content
  • Tony Jiang's avatar
    [PowerPC] Match vec_revb builtins to P9 instructions. · 1a8eec14
    Tony Jiang authored
    Power9 has instructions that will reverse the bytes within an element for all
    sizes (half-word, word, double-word and quad-word). These can be used for the
    vec_revb builtins in altivec.h. However, we implement these to match vector
    shuffle nodes as that will cover both the builtins and vector shuffles that
    occur in the SDAG through other means.
    
    Differential Revision: https://reviews.llvm.org/D33690
    
    llvm-svn: 305214
    1a8eec14
Loading