summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/combine-sub-usat.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombiner] Add (sub_sat x, x) -> 0 combineSimon Pilgrim2019-01-141-4/+2
| | | | llvm-svn: 351073
* [DAGCombiner] Enable sub saturation constant foldingSimon Pilgrim2019-01-141-12/+5
| | | | llvm-svn: 351072
* [X86] Add sub saturation constant folding and self tests.Simon Pilgrim2019-01-141-1/+72
| | | | llvm-svn: 351071
* [DAGCombiner] Add add/sub saturation undef handlingSimon Pilgrim2019-01-141-4/+2
| | | | | | | | Match ConstantFolding.cpp: (add_sat x, undef) -> -1 (sub_sat x, undef) -> 0 llvm-svn: 351070
* [X86] Add add/sub saturation undef tests.Simon Pilgrim2019-01-141-2/+28
| | | | llvm-svn: 351066
* [DAGCombiner] Some very basic add/sub saturation combines.Simon Pilgrim2019-01-131-14/+4
| | | | | | Handle combines with zero and constant canonicalization for adds. llvm-svn: 351024
* [X86] Add some basic add/sub saturation combine tests.Simon Pilgrim2019-01-131-0/+40
The actual combines will be added in a future commit. llvm-svn: 351023
OpenPOWER on IntegriCloud