Use getZExtOrTrunc instead of repeating the same logic.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 17 Nov 2013 02:24:21 +0000 (02:24 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 17 Nov 2013 02:24:21 +0000 (02:24 +0000)
commit91053d585abf6b20b770532d007a8b7648d0621f
treeb007b799e98bb7fc7782e447bb63f807626b6698
parent390564206f67b742ad7cbee1cf17ae52efa77cb6
Use getZExtOrTrunc instead of repeating the same logic.

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