From 77d7f6447256545b7eb375c2baafa9b3084094c8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 12 Jun 2024 19:34:01 -0700 Subject: [PATCH] Update to llvm/llvm-proect@27ac46e6bea2 (2024-6-12) (#3454) This would require to bump stablehlo at the same time. --- externals/llvm-project | 2 +- externals/stablehlo | 2 +- lib/Dialect/Torch/Transforms/AdjustCallingConventions.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/externals/llvm-project b/externals/llvm-project index 6127f15e5..27ac46e6b 160000 --- a/externals/llvm-project +++ b/externals/llvm-project @@ -1 +1 @@ -Subproject commit 6127f15e5b4834411e8f2e700e25c40490deec35 +Subproject commit 27ac46e6bea2c25c18650b607754dcc73b42e3d6 diff --git a/externals/stablehlo b/externals/stablehlo index 25d237f62..dd48ec58d 160000 --- a/externals/stablehlo +++ b/externals/stablehlo @@ -1 +1 @@ -Subproject commit 25d237f6273361bb29e8436349c7067ee559dca2 +Subproject commit dd48ec58d3bb8d674adf56715d4394102538fa84 diff --git a/lib/Dialect/Torch/Transforms/AdjustCallingConventions.cpp b/lib/Dialect/Torch/Transforms/AdjustCallingConventions.cpp index 2cbfe2642..af937ac10 100644 --- a/lib/Dialect/Torch/Transforms/AdjustCallingConventions.cpp +++ b/lib/Dialect/Torch/Transforms/AdjustCallingConventions.cpp @@ -62,7 +62,7 @@ public: // TODO: add tuple type. conversion.addInputs(type.index(), type.value()); } - rewriter.applySignatureConversion(&func.getBody(), conversion, + rewriter.applySignatureConversion(&func.getBody().front(), conversion, typeConverter); SmallVector newResultTypes;