commit | ea26cb1f48f6fc8add96a8bbcbc8f671da202a77 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Fri Jul 22 20:03:43 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Fri Jul 22 20:03:43 2016 +0000 |
tree | 6143828ff55b9f192d8f76f658c611a6155bed72 | |
parent | 428d4aa99fe9da41394932c504edc89ff90e3ab8 [diff] |
GlobalISel: implement legalization pass, with just one transformation. This adds the actual MachineLegalizeHelper to do the work and a trivial pass wrapper that legalizes all instructions in a MachineFunction. Currently the only transformation supported is splitting up a vector G_ADD into one acting on smaller vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276461 91177308-0d34-0410-b5e6-96231b3b80d8