Skip to content

Commit 5f40b6d

Browse files
Eli FriedmanBeanz-Bot
Eli Friedman
authored and
Beanz-Bot
committed
[CodeGen] Fix result type for SMULO/UMULO legalization
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 rust-lang/rust#37829 Patch by Vadzim Dambrouski! Differential Revision: https://reviews.llvm.org/D27154 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288857 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 669119f commit 5f40b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm

Submodule llvm updated from 6b92e1a to 0e51e5e

0 commit comments

Comments
 (0)