commit | 6035518e3bd06cef0515af5a319fbe2cea7df6d4 | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Tue Aug 05 02:39:49 2014 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Tue Aug 05 02:39:49 2014 +0000 |
tree | 4b56ce4e83e0c675cc76e6375be0bf82e7cfdbb6 | |
parent | c2328d552c443b196409582ee98c240828b7df44 [diff] |
Have MachineFunction cache a pointer to the subtarget to make lookups shorter/easier and have the DAG use that to do the same lookup. This can be used in the future for TargetMachine based caching lookups from the MachineFunction easily. Update the MIPS subtarget switching machinery to update this pointer at the same time it runs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214838 91177308-0d34-0410-b5e6-96231b3b80d8