commit | 94d9f2553f427fe75aed16a7e3292f5852687a1d | [log] [tgz] |
---|---|---|
author | Joshua Cao <cao.joshua@yahoo.com> | Tue May 30 01:53:06 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 31 21:35:53 2023 -0700 |
tree | bd2249f0d2846e4f8a1a2c02034fec90ce487445 | |
parent | 4363d419eb3776d98d6244dc1cfc896239246a61 [diff] |
[SCEV] Compute AddRec range computations using different type BECount Before this patch, we can only use the MaxBECount for an AddRec's range computation if the MaxBECount has <= bit width of the AddRec. This patch reasons that if a MaxBECount has > bit width, and is <= the max value of AddRec's bit width, we can still use the MaxBECount. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D151698 GitOrigin-RevId: 6ed152aff4aab6307ecaab64a544d0524ea5f50e