summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/overflow.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombine] (addcarry 0, 0, X) -> (ext/trunc X)Amaury Sechet2017-05-191-5/+3
| | | | | | | | | | | | | | | Summary: While this makes some case better and some case worse - so it's unclear if it is a worthy combine just by itself - this is a useful canonicalisation. As per discussion in D32756 . Reviewers: jyknight, nemanjai, mkuper, spatel, RKSimon, zvi, bkramer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32916 llvm-svn: 303441
* [DAGCombiner] mulhi + 1 never overflow.Amaury Sechet2017-03-011-4/+2
| | | | | | | | | | | | | | | Summary: This can be used to optimize large multiplications after legalization. Depends on D29565 Reviewers: mkuper, spatel, RKSimon, zvi, bkramer, aaboud, craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29587 llvm-svn: 296711
* Improve mulhi overflow test. NFCAmaury Sechet2017-03-011-14/+25
| | | | llvm-svn: 296709
* Add test case for mulhi's overflow. NFCAmaury Sechet2017-03-011-0/+55
llvm-svn: 296696
OpenPOWER on IntegriCloud