Skip to content
  • Dan Gohman's avatar
    Support vector casts in more places, fixing a variety of assertion · 7ccc52f1
    Dan Gohman authored
    failures.
    
    To support this, add some utility functions to Type to help support
    vector/scalar-independent code. Change ConstantInt::get and
    ConstantFP::get to support vector types, and add an overload to
    ConstantInt::get that uses a static IntegerType type, for
    convenience.
    
    Introduce a new getConstant method for ScalarEvolution, to simplify
    common use cases.
    
    llvm-svn: 73431
    7ccc52f1
Loading