diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-01-25 10:53:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 10:53:01 -0800 |
commit | 4bcd8184a093d2d9f0aad1053dbb1367891da6a5 (patch) | |
tree | dcd1f45e478549f3e193a360625131b7028eef94 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2655ae54db6d7e9276a5ef4208cbeff1ae2ee72c (diff) | |
download | llvm-4bcd8184a093d2d9f0aad1053dbb1367891da6a5.zip llvm-4bcd8184a093d2d9f0aad1053dbb1367891da6a5.tar.gz llvm-4bcd8184a093d2d9f0aad1053dbb1367891da6a5.tar.bz2 |
[TargetLowering] Pull similar code out of the forceExpandWideMUL into a helper. NFC (#124371)
These functions have similar code. One of them calculates the 2x width
full product from 2 sources. The other calculates the product from 2
sources that have low and high halves.
This patch introduces a new function that takes HiLHS and HiRHS as
optional values. If they are not null, they will be used in the
calculation of the Hi half. The Signed flag can only be set when
HiLHS/HiRHS are null.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions