Skip to content
  • Dan Gohman's avatar
    Avoid creating two TargetLowering objects for each target. · 2c836cf1
    Dan Gohman authored
    Instead, just create one, and make sure everything that needs
    it can access it. Previously most of the SelectionDAGISel
    subclasses all had their own TargetLowering object, which was
    redundant with the TargetLowering object in the TargetMachine
    subclasses, except on Sparc, where SparcTargetMachine
    didn't have a TargetLowering object. Change Sparc to work
    more like the other targets here.
    
    llvm-svn: 57016
    2c836cf1
Loading