Skip to content
Open
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
d29f038
init
May 27, 2024
8d65cbf
add LoopInvariantCodeMotion and CSE
May 28, 2024
e6037e2
update for result use rewriter
May 30, 2024
24261e7
move functions in class
May 30, 2024
0709481
backup multireduction canonicalization
Jun 3, 2024
e04eaf6
update reduce operation
Jun 4, 2024
75e5546
update reduce
Jun 5, 2024
a648a12
Merge branch 'main' into xiaohui/vectorization
Jun 5, 2024
b80822b
record
Jun 8, 2024
a7f0e21
update reduce
Jun 25, 2024
9e4364b
record
Jun 27, 2024
b01472a
fix tests
Jul 5, 2024
947e5c0
temp record, please reset back
Jul 5, 2024
1101e86
temp record, please reset back
Jul 5, 2024
a943154
Merge branch 'main' into xiaohui/vectorization
Jul 5, 2024
7200565
add check test
Jul 8, 2024
26b2ab8
simplify code
Jul 11, 2024
380f173
refactor partial compitable operation fusion
Jul 18, 2024
7a71b25
fix reduce bug
Jul 22, 2024
ab7c4d0
add 16x16 transpose kernel
Jul 23, 2024
72f1a8b
update reduce, add shapecast, add single matmul test
Jul 25, 2024
6e1adc9
Merge remote-tracking branch 'origin/main' into xiaohui/vectorization
Jul 28, 2024
4c2b3b8
fix bugs
Jul 31, 2024
39524f3
fix wrong permutation map due to community pass greedy fold bug
Aug 1, 2024
ca28f7c
fix reduce bugs
Aug 3, 2024
37ea49b
fix useless vector operation
Aug 13, 2024
6480b46
Merge remote-tracking branch 'origin' into xiaohui/vectorization
Aug 13, 2024
5161921
update lowr tile vector code
Aug 16, 2024
747f63a
remove lower tile part
Aug 22, 2024
a38e34a
Merge branch 'main' into xiaohui/vectorization
Aug 22, 2024
788452e
update
Aug 22, 2024
894f268
disable printer
Aug 22, 2024
37a0447
fix transpose segmentation fault
Aug 23, 2024
a804c2d
update transpose index
Aug 28, 2024
7f7fb86
Merge branch 'main' into xiaohui/vectorization
Aug 29, 2024
c1d7136
simplify analyzer code
Aug 29, 2024
545cf98
fix clang-format
Aug 29, 2024
87e69e1
simplify multireduction generate loop code
Aug 30, 2024
dc00e70
update test
Aug 30, 2024
7ac81c7
simplify code
Sep 2, 2024
284a97b
add test
Sep 3, 2024
562657c
simplify reduction parallel generate for loop
Sep 3, 2024
3db8b18
add some comments
Sep 5, 2024
0c5e5a4
simplify nestedforloop generate
Sep 5, 2024
8bdf984
fix too many parameters in function
Sep 6, 2024
db59850
simplify function parameters
Sep 7, 2024
0353101
update
Sep 9, 2024
a08a3f8
Merge branch 'main' into xiaohui/vectorization
Sep 9, 2024
50d2e76
Merge branch 'main' into xiaohui/vectorization
Sep 9, 2024
10e73f4
test ci
Sep 9, 2024
eec389f
fix clang-format
Sep 9, 2024
cdbe4e2
fix format
Sep 9, 2024
27536a1
Merge branch 'main' into xiaohui/vectorization
Sep 9, 2024
5bf4a9f
enable mincrokernel op in vector
Sep 9, 2024
b0a26cd
fix comments
Sep 9, 2024
dfa5ea3
add comments
Sep 10, 2024
ffc5569
fix clang-tidy
Sep 10, 2024
32f20dd
remove unused function
Sep 10, 2024
a4382c2
split analysis file
Sep 13, 2024
1f0e3ce
Merge branch 'main' into xiaohui/vectorization
Sep 13, 2024
a79147c
add utils.cpp
Sep 13, 2024
3552eb6
fix license
Sep 13, 2024
3ef9f3a
fix code stype
Sep 13, 2024
a1f9988
enable broadcast op fusion
Sep 13, 2024
47687f1
add lower to vector pass in pipeline
Sep 13, 2024
1a2a9a1
use linalgx utils function
Sep 13, 2024
f96c544
temporaty save
Sep 14, 2024
bec59ab
rename file name
Sep 18, 2024
4c901c4
push local change
Sep 18, 2024
9b6e6c8
fix reduce loop indice
Sep 19, 2024
aac20a0
simplify code
Sep 20, 2024
9a62f0b
Merge branch 'main' into xiaohui/vectorization
Sep 20, 2024
919dd11
update reduction rectify indice code
Sep 23, 2024
0e7794c
use CRTP and type trait to avoid virtual function to improve compile …
Sep 24, 2024
705d249
fix comments
Sep 25, 2024
d49715c
remove unused function
Sep 26, 2024
ba356ab
Merge branch 'main' into xiaohui/vectorization
Sep 27, 2024
d8e968f
Merge branch 'main' into xiaohui/vectorization
Sep 27, 2024
57bec50
fix comments
Oct 8, 2024
e8d7612
Merge branch 'main' into xiaohui/vectorization
Oct 8, 2024
028d4f4
Merge branch 'main' into xiaohui/vectorization
Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions include/gc/Transforms/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,21 @@ def MergeNestedForall : Pass<"merge-nested-forall"> {
let dependentDialects = ["scf::SCFDialect"];
}

def CPUPhysicalRegisterPass : Pass<"CPU-physical-register-pass", "func::FuncOp"> {
let summary = "Lower operation to cpu pysical register size.";
let description = [{
Physical register size lowering pass.
}];
let dependentDialects = [
"::mlir::func::FuncDialect",
"::mlir::math::MathDialect",
"::mlir::arith::ArithDialect",
"::mlir::tensor::TensorDialect",
"::mlir::vector::VectorDialect",
"::mlir::scf::SCFDialect",
];
}

def FoldTensorOperation : Pass<"fold-tensor-operation"> {
let summary = "Fold some tensor operation";
let description = [{
Expand Down
1 change: 1 addition & 0 deletions lib/gc/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gc_add_mlir_library(GcPasses
MergeAllocTickBased.cpp
FoldTensorOperation.cpp
LowerToTileVector.cpp
CPUPhysicalRegisterPass.cpp

DEPENDS
GraphCompilerPassIncGen
Expand Down
Loading