Multiply can be evaluated in a different type, so long as the target type has
authorNick Lewycky <nicholas@mxc.ca>
Tue, 22 Jan 2008 05:08:48 +0000 (05:08 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 22 Jan 2008 05:08:48 +0000 (05:08 +0000)
commite6b0c0036a64f4be4646230f2510e5b20dc04351
treecefef13ba59c18f82fbf81f47cc36144ad140052
parent18bef16d84748bb012a4506ef3c76e26cfba1c68
Multiply can be evaluated in a different type, so long as the target type has
a smaller bitwidth.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46244 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2008-01-21-MulTrunc.ll [new file with mode: 0644]