aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopCacheAnalysis.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-08-06 09:31:05 -0700
committerCraig Topper <craig.topper@sifive.com>2021-08-06 09:43:01 -0700
commitb2ca4dc935859b324fd7e9ca804160913a7468a5 (patch)
treef9266f3dd6969344aaf31e39b8617938d925d39a /llvm/lib/Analysis/LoopCacheAnalysis.cpp
parent77e8f4eeeeed516a1c79365a4b8128da463d96c4 (diff)
downloadllvm-b2ca4dc935859b324fd7e9ca804160913a7468a5.zip
llvm-b2ca4dc935859b324fd7e9ca804160913a7468a5.tar.gz
llvm-b2ca4dc935859b324fd7e9ca804160913a7468a5.tar.bz2
[LegalizeTypes] Add a simple expansion for SMULO when a libcall isn't available.
This isn't optimal, but prevents crashing when the libcall isn't available. It just calculates the full product and makes sure the high bits match the sign of the low half. Each of the pieces should go through their own type legalization. This can make D107420 unnecessary. Needs tests, but I wanted to start discussion about D107420. Reviewed By: FreddyYe Differential Revision: https://reviews.llvm.org/D107581
Diffstat (limited to 'llvm/lib/Analysis/LoopCacheAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions