]> granicus.if.org Git - llvm/commit
[CodeGen] Refactor DAGTypeLegalizer::ExpandIntRes_MULFIX. NFC
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sat, 31 Aug 2019 09:28:50 +0000 (09:28 +0000)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sat, 31 Aug 2019 09:28:50 +0000 (09:28 +0000)
commitbcf61509167ddece924c8eb279b08f83e53a6328
tree629607496efc57608a250f11291933249ce893be
parent174faa21e9068550ca2eee679103cf7e2393c9a5
[CodeGen] Refactor DAGTypeLegalizer::ExpandIntRes_MULFIX. NFC

Restructured the code a little bit in preparation for adding
UMULFIXSAT. I think it will be easier to understand the code
if not interleaving the codegen for signed/unsigned/saturated
cases that much.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp