summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MSP430/umulo-16.ll
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Fix result type for SMULO/UMULO legalizationEli Friedman2016-12-061-0/+32
On some platforms (like MSP430) the second element of the result structure for SMULO/UMULO may have a shorter type than the one returned by SetCC. We need to truncate it to the right type, or else some incorrect code may be generated later on. This fixes issue https://github.com/rust-lang/rust/issues/37829 Patch by Vadzim Dambrouski! Differential Revision: https://reviews.llvm.org/D27154 llvm-svn: 288857
OpenPOWER on IntegriCloud