Skip to content

Commit 04669ef

Browse files
authored
Pulls in llvm/llvm-project#125268 which is necessary for #5563.
1 parent 19f559a commit 04669ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/llvm-hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c118864223c6309378cd704f3406533474c2759f
1+
ffe3129e9bdc146ee4d91e849173d1c64b1ae974

lib/Target/LLVMIR/LLVMIRBreakPhiStruct.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static bool processPhiStruct(PHINode *phiNode) {
1717
unsigned numOperands = phiNode->getNumIncomingValues();
1818
unsigned numScalarEl = STy->getNumElements();
1919
Value *newStruct = UndefValue::get(STy);
20-
builder.SetInsertPoint(phiNode->getParent()->getFirstNonPHI());
20+
builder.SetInsertPoint(phiNode->getParent()->getFirstNonPHIIt());
2121
llvm::IRBuilderBase::InsertPoint insertInsertPt = builder.saveIP();
2222
for (unsigned i = 0; i < numScalarEl; i++) {
2323
builder.SetInsertPoint(phiNode);

0 commit comments

Comments
 (0)