Files
clang-p2996/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Craig Topper e0cc556ad4 [IndVars] Teach widenLoopCompare to use sext if narrow IV is positive and other operand is already sext. (#142703)
This prevents us from ending up with (zext (sext X)). The zext will
require an instruction on targets where zext isn't free like RISC-V.
2025-06-10 12:52:39 -07:00

87 KiB