[all-commits] [llvm/llvm-project] 0766c1: [LFTR] Simplify integer case for genLoopLimit [nfc...
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed Mar 22 12:22:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0766c1bd5c0ece916be14b620b02bea845cb9fac
https://github.com/llvm/llvm-project/commit/0766c1bd5c0ece916be14b620b02bea845cb9fac
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Log Message:
-----------
[LFTR] Simplify integer case for genLoopLimit [nfc-ish]
The integer case in genLoopLimit reduces down to a special case for narrowing the bitwidth of the limit, and then performing the same expansion we would for a pointer IV.
Differential Revision: https://reviews.llvm.org/D146638
More information about the All-commits
mailing list