summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/MachineLegalizeHelper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GlobalISel: extend add widening to SUB, MUL, OR, AND and XOR.Tim Northover2016-08-041-2/+8
| | | | | | | These are the operations that are trivially identical. Division is omitted for now because you need to use the correct sign/zero extension. llvm-svn: 277775
* GlobalISel: implement narrowing for G_ADD.Tim Northover2016-08-041-1/+32
| | | | llvm-svn: 277769
* GlobalISel: add code to widen scalar G_ADDTim Northover2016-08-041-1/+24
| | | | llvm-svn: 277747
* GlobalISel: implement legalization pass, with just one transformation.Tim Northover2016-07-221-0/+98
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
OpenPOWER on IntegriCloud