Skip to content
  • Eric Christopher's avatar
    Migrate existing backends that care about software floating point · 824f42f2
    Eric Christopher authored
    to use the information in the module rather than TargetOptions.
    
    We've had and clang has used the use-soft-float attribute for some
    time now so have the backends set a subtarget feature based on
    a particular function now that subtargets are created based on
    functions and function attributes.
    
    For the one middle end soft float check go ahead and create
    an overloadable TargetLowering::useSoftFloat function that
    just checks the TargetSubtargetInfo in all cases.
    
    Also remove the command line option that hard codes whether or
    not soft-float is set by using the attribute for all of the
    target specific test cases - for the generic just go ahead and
    add the attribute in the one case that showed up.
    
    llvm-svn: 237079
    824f42f2
Loading