This fixes LanaiTTIImpl::getIntImmCost to return valid costs for i128
(and wider) values. Previously any immediate wider than
64 bits would cause Lanai llc to crash.
A regression test is also added that exercises this functionality.
Differential D107091
[Lanai] implement wide immediate support q3k on Jul 29 2021, 10:47 AM. Authored by
Details
This fixes LanaiTTIImpl::getIntImmCost to return valid costs for i128 A regression test is also added that exercises this functionality.
Diff Detail
Event Timeline
Comment Actions Thanks! I'll also need someone to submit/commit/land this for me. Is this something you can do, @jpienaar? Or should I be asking someone else? |
Wouldn't this say that returning > 64 is cheaper than returning 32 bits?