aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-01-27 23:41:06 -0800
committerCraig Topper <craig.topper@sifive.com>2023-01-28 00:05:19 -0800
commitcbbcb10e084e9ef93f37fdf8526b0ab20200eb46 (patch)
treeef4af2b1964076682091487618ef97943b76fc35 /clang/lib/Basic/SourceManager.cpp
parent6cfebf39103e6f46dfb3ed50930b81cb674384e5 (diff)
downloadllvm-cbbcb10e084e9ef93f37fdf8526b0ab20200eb46.zip
llvm-cbbcb10e084e9ef93f37fdf8526b0ab20200eb46.tar.gz
llvm-cbbcb10e084e9ef93f37fdf8526b0ab20200eb46.tar.bz2
[RISCV] Refine the (mul (zext.w X), C) -> mulhu isel heuristic.
We try to shift both X and C left by 32 to replace the zext.w with a SLLI and use mulhu. If C is already a simm32, this likely makes a constant that is more expensive to materialize.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions