commit | 1baa5d8ea2bdee9ebf99cda63067fca9a4b3df9d | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Fri Jul 04 01:55:26 2014 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Fri Jul 04 01:55:26 2014 +0000 |
tree | 17008b6827c009ce9df1fc56785a9552c7ab4ac6 | |
parent | 2255dc771297ba037ddc83c02acde8937228718b [diff] |
Move function dependent resetting of a subtarget variable out of the subtarget. This involved having the movt predicate take the current function - since we care about size in instruction selection for whether or not to use movw/movt take the function so we can check the attributes. This required adding the current MachineFunction to FastISel and propagating through. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212309 91177308-0d34-0410-b5e6-96231b3b80d8