[all-commits] [llvm/llvm-project] 4f7f71: [VPlan] Compare APInt instead of getSExtValue to f...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Dec 6 08:29:56 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f7f71b7bccdc38f37b82981e8fa9ceb536a7016
https://github.com/llvm/llvm-project/commit/4f7f71b7bccdc38f37b82981e8fa9ceb536a7016
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
A llvm/test/Transforms/LoopVectorize/interleave-with-i65-induction.ll
Log Message:
-----------
[VPlan] Compare APInt instead of getSExtValue to fix crash in unroll.
getSExtValue assumes the result fits in 64 bits, but this may not be the
case for indcutions with wider types. Instead, directly perform the
compare on the APInt for the ConstantInt.
Fixes https://github.com/llvm/llvm-project/issues/118850.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list