Skip to content

Commit

Permalink
fix rename folder
Browse files Browse the repository at this point in the history
  • Loading branch information
effrey-liu committed Oct 30, 2024
1 parent bcecdd8 commit bda1df8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion midend/lib/Conversion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ add_subdirectory(LowerSche)
add_subdirectory(FuncBufferize)
add_subdirectory(DepthwiseConvOptimization)
add_subdirectory(MLIRGPU)
add_subdirectory(LlamaOptimizations)
add_subdirectory(OpSimplification)
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
//====- AddConstReshape2Const.cpp----------------------------===//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//===----------------------------------------------------------------------===//
//
// This file implements the AddConstReshape2Const optimize.
//
//===----------------------------------------------------------------------===//

#include <mlir/Dialect/Affine/IR/AffineOps.h>
#include <mlir/Dialect/Func/IR/FuncOps.h>
#include <mlir/Dialect/Linalg/Transforms/Transforms.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_mlir_library(LlamaOptimizations
add_mlir_library(OpSimplification
AddConstReshape2Const.cpp

LINK_LIBS PUBLIC
BuddyUtils
)
)
2 changes: 1 addition & 1 deletion tools/buddy-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ target_link_libraries(buddy-opt
MLIRTestTransformDialect
MLIRTransforms
MLIRTransformUtils
LlamaOptimizations
OpSimplification
)

0 comments on commit bda1df8

Please sign in to comment.