Skip to content

Commit 64a9be7

Browse files
Integrate LLVM at 8404b29b4151d95135ccc8d0d985be5ec8bb6f49 (#4177)
Update LLVM to llvm/llvm-project@8404b29 Changes made to function type APIs as per llvm/llvm-project@7318074. Signed-off-by: Vivek Khandelwal <[email protected]>
1 parent 83f7de1 commit 64a9be7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

externals/llvm-project

Submodule llvm-project updated 3728 files

lib/Dialect/Torch/Transforms/GlobalizeObjectGraph.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,9 @@ static LogicalResult rewriteMonomorphizedFuncClone(
564564
argsToErase.set(type.index());
565565
}
566566
}
567-
func.eraseArguments(argsToErase);
567+
if (failed(func.eraseArguments(argsToErase)))
568+
return failure();
569+
568570
return success(!walkResult.wasInterrupted());
569571
}
570572

0 commit comments

Comments
 (0)