[llvm] [AggressiveInstCombine] Fix crash when folding consecutive loads into a type smaller than the combined load (PR #207229)
Kyungtak Woo via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 19:42:24 PDT 2026
================
@@ -1231,7 +1231,7 @@ struct LoadOps {
bool FoundRoot = false;
uint64_t LoadSize = 0;
uint64_t Shift = 0;
- Type *ZextType;
+ Type *ZextType = nullptr;
----------------
kevinwkt wrote:
My bad.
https://github.com/llvm/llvm-project/pull/207229
More information about the llvm-commits
mailing list