[Lanai] implement wide immediate support
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. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D107091
Loading
Please sign in to comment