Migrate the HexagonSplitConst32AndConst64 pass from TargetMachine
authorEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 22:11:43 +0000 (22:11 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 22:11:43 +0000 (22:11 +0000)
commit01f875e8597431d953223e49fb9a05153e608055
tree58b83d1ee7c1cd3c5c345038e46566a7d0ecbe70
parent0fef34e3fca096be4400ccedd80b40aaa5c9412e
Migrate the HexagonSplitConst32AndConst64 pass from TargetMachine
based getSubtarget to the one cached on the MachineFunction.
Remove unused class variables and update all callers/uses.

llvm-svn: 227874
llvm/lib/Target/Hexagon/Hexagon.h
llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp