Skip to content
  • Nate Begeman's avatar
    PR2957 · bb881d66
    Nate Begeman authored
    ISD::VECTOR_SHUFFLE now stores an array of integers representing the shuffle
    mask internal to the node, rather than taking a BUILD_VECTOR of ConstantSDNodes
    as the shuffle mask.  A value of -1 represents UNDEF.
    
    In addition to eliminating the creation of illegal BUILD_VECTORS just to 
    represent shuffle masks, we are better about canonicalizing the shuffle mask,
    resulting in substantially better code for some classes of shuffles.
    
    A clean up of x86 shuffle code, and some canonicalizing in DAGCombiner is next.
    
    llvm-svn: 69952
    bb881d66
Loading