diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-10-06 18:30:05 +0100 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-10-06 19:11:32 +0100 |
| commit | 7bd097fd1e4a76060a19f1e28b0e3a6b3e035132 (patch) | |
| tree | 15f7a72a88c842eb6ed56c3583032f11ef0a5a38 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 81b5da8c97463839d5631628f9687e26dcca467f (diff) | |
[CostModel][TTI] Fix ops used for generic smulo/umulo cost expansion
Fix copy+pasta that was checking for smul_fix instead of smul_with_overflow to detected signed values.
The LShr is performed on the extended type as we use it to truncate+extract the upper/hi bits of the extended multiply.
More closely matches the default expansion from TargetLowering::expandMULO
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
