Skip to content

Commit b82fd5d

Browse files
committed
[GlobalISel] Initialize variables in IndexedLoadStoreMatchInfo
1 parent b28766e commit b82fd5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ struct IndexedLoadStoreMatchInfo {
5656
Register Addr;
5757
Register Base;
5858
Register Offset;
59-
bool RematOffset; // True if Offset is a constant that needs to be
60-
// rematerialized before the new load/store.
61-
bool IsPre;
59+
bool RematOffset = false; // True if Offset is a constant that needs to be
60+
// rematerialized before the new load/store.
61+
bool IsPre = false;
6262
};
6363

6464
struct PtrAddChain {

0 commit comments

Comments
 (0)