Skip to content
  • Dan Gohman's avatar
    Generalize MVT::ValueType and associated functions to be able to represent · a8665145
    Dan Gohman authored
    extended vector types. Remove the special SDNode opcodes used for pre-legalize
    vector operations, and the special MVT::Vector type used with them. Adjust
    lowering and legalize to work with the normal SDNode kinds instead, and to
    use the normal MVT functions to work with vector types instead of using the
    two special operands that the pre-legalize nodes held.
    
    This allows pre-legalize and post-legalize DAGs, and the code that operates
    on them, to be more consistent. Pre-legalize vector operators can be handled
    more consistently with scalar operators. And, -view-dag-combine1-dags and
    -view-legalize-dags now look prettier for vector code.
    
    llvm-svn: 37719
    a8665145
Loading