summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-18 17:55:26 +0000
committerDan Gohman <gohman@apple.com>2008-02-18 17:55:26 +0000
commita589ee11bb0a7bdf4d928303408bf3378fdd1658 (patch)
tree6a45e11bf8714e5ff6835aa275c7aed49daaf2a6 /clang/CodeGen/CodeGenModule.cpp
parent1e3c501cb8ac34110f53a2315d2afa7632be9d9e (diff)
downloadbcm5719-llvm-a589ee11bb0a7bdf4d928303408bf3378fdd1658.tar.gz
bcm5719-llvm-a589ee11bb0a7bdf4d928303408bf3378fdd1658.zip
Don't mark scalar integer multiplication as Expand on x86, since x86
has plain one-result scalar integer multiplication instructions. This avoids expanding such instructions into MUL_LOHI sequences that must be special-cased at isel time, and avoids the problem with that code that provented memory operands from being folded. This fixes PR1874, addressesing the most common case. The uncommon cases of optimizing multiply-high operations will require work in DAGCombiner. llvm-svn: 47277
Diffstat (limited to 'clang/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud