summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GlobalISel: add code to widen scalar G_ADDTim Northover2016-08-041-0/+5
| | | | llvm-svn: 277747
* [GlobalISel] Const-ify MachineInstrs passed to MachineLegalizer.Ahmed Bougacha2016-08-021-2/+2
| | | | llvm-svn: 277445
* GlobalISel: implement legalization pass, with just one transformation.Tim Northover2016-07-221-4/+5
| | | | | | | | | 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. llvm-svn: 276461
* GlobalISel: implement Legalization querying framework.Tim Northover2016-07-201-0/+128
This adds an (incomplete, inefficient) framework for deciding what to do with some operation on a given type. llvm-svn: 276184
OpenPOWER on IntegriCloud