Integrate LLVM at llvm/llvm-project@499bce3aba
Updates LLVM usage to match [499bce3abab8](https://github.com/llvm/llvm-project/commit/499bce3abab8) PiperOrigin-RevId: 342921326
This commit is contained in:
parent
7a6a6ffa40
commit
bba9968ff0
|
@ -1,2 +1,2 @@
|
||||||
65f3e121fe4f80e2b178fa157ef1346043555b4b
|
499bce3abab8a362b9b4197944bd40b826c736c4
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ limitations under the License.
|
||||||
#include "mlir/Dialect/Shape/IR/Shape.h"
|
#include "mlir/Dialect/Shape/IR/Shape.h"
|
||||||
#include "mlir/Dialect/Shape/Transforms/Passes.h"
|
#include "mlir/Dialect/Shape/Transforms/Passes.h"
|
||||||
#include "mlir/Dialect/StandardOps/IR/Ops.h"
|
#include "mlir/Dialect/StandardOps/IR/Ops.h"
|
||||||
|
#include "mlir/Dialect/StandardOps/Transforms/FuncConversions.h"
|
||||||
#include "mlir/IR/AffineMap.h"
|
#include "mlir/IR/AffineMap.h"
|
||||||
#include "mlir/IR/Attributes.h"
|
#include "mlir/IR/Attributes.h"
|
||||||
#include "mlir/IR/BlockAndValueMapping.h"
|
#include "mlir/IR/BlockAndValueMapping.h"
|
||||||
|
@ -578,9 +579,8 @@ struct HloLegalizeToLhlo
|
||||||
});
|
});
|
||||||
|
|
||||||
populateHLOToLHLOConversionPattern(&context, &converter, &patterns);
|
populateHLOToLHLOConversionPattern(&context, &converter, &patterns);
|
||||||
populateWithBufferizeOpConversionPatterns<mlir::ReturnOp, mlir::ReturnOp,
|
populateFuncOpTypeConversionPattern(patterns, &context, converter);
|
||||||
lmhlo::CopyOp>(
|
populateCallOpTypeConversionPattern(patterns, &context, converter);
|
||||||
&context, converter, patterns);
|
|
||||||
populateShapeStructuralTypeConversionsAndLegality(&context, converter,
|
populateShapeStructuralTypeConversionsAndLegality(&context, converter,
|
||||||
patterns, target);
|
patterns, target);
|
||||||
if (failed(applyPartialConversion(getOperation(), target,
|
if (failed(applyPartialConversion(getOperation(), target,
|
||||||
|
|
Loading…
Reference in New Issue