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)
commit7ee5bc454a307ae9b8f8ca7892b1caa808947627
tree5d0700119d44d64673aa49a4cfeb3089b27956ed
parent30803daf51e6561a134ce0890270fa6552cac12e
Migrate the HexagonSplitConst32AndConst64 pass from TargetMachine
based getSubtarget to the one cached on the MachineFunction.
Remove unused class variables and update all callers/uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227874 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/Hexagon.h
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
lib/Target/Hexagon/HexagonTargetMachine.cpp