Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLIR Support to LDC #1

Merged
merged 41 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8e80897
llvm ->std make_unique
thewilsonator Aug 28, 2019
23b1d7f
getOrInsertFunction
thewilsonator Aug 28, 2019
1b61278
getProfileSummary
thewilsonator Aug 28, 2019
f1bf77e
PassManagerBuilder DisableUnitAtATime was removed
thewilsonator Aug 28, 2019
99b8cb5
calcite one
thewilsonator Aug 28, 2019
ccb0027
fix condition
thewilsonator Aug 28, 2019
eaec8dd
fix old llvms
thewilsonator Aug 28, 2019
86173e9
typo
thewilsonator Aug 28, 2019
6a6b2ab
use auto
thewilsonator Aug 28, 2019
b82d733
typo
thewilsonator Aug 28, 2019
a1fd416
comment for non-context sensitive profile
thewilsonator Aug 29, 2019
b24b2d3
fix versioning for unitAtATime
thewilsonator Aug 29, 2019
c409c67
formatting
thewilsonator Aug 29, 2019
7cf3d80
comments
thewilsonator Aug 30, 2019
54fbfc8
typo
thewilsonator Aug 30, 2019
c8167e0
Update optimizer.cpp
Robertorosmaninho Aug 30, 2019
cff09f9
typo
thewilsonator Aug 30, 2019
8c1377f
Fix SanitizerCoverage
thewilsonator Aug 30, 2019
d730e6c
Fix pass for old LLVMs
thewilsonator Aug 30, 2019
5b1c5c4
fix removeCallEdgeFor
thewilsonator Aug 30, 2019
2d56ff5
Fix old LLVM take 2
thewilsonator Aug 30, 2019
b50775a
take 3
thewilsonator Aug 30, 2019
fc04e87
Firsts steps
Robertorosmaninho Sep 17, 2019
26ea161
firsts steps on mlirstate.h
Robertorosmaninho Sep 24, 2019
2f389a1
creation of mlirstate.cpp and resign of it .h
Robertorosmaninho Sep 24, 2019
7964a0a
updating mlir and fixing bugs in mlirstate
Robertorosmaninho Sep 25, 2019
a010775
second modifications
Robertorosmaninho Oct 1, 2019
d4230ff
creating mlircodegen - but incomplete and creat new mlir flags
Robertorosmaninho Oct 1, 2019
22dddeb
bugs and add output--mlit into cl options
Robertorosmaninho Oct 2, 2019
a611de4
putting mlirstate back to project
Robertorosmaninho Oct 2, 2019
d739ef4
Adding FindMLIR.cmake to link mlir header to ldc and creating output_…
Robertorosmaninho Oct 2, 2019
21a63c3
commandline flag -output-mlir working!
Robertorosmaninho Oct 3, 2019
ebda670
Only mlir file it's created and with correct output
Robertorosmaninho Oct 9, 2019
16c6b6e
commandline flag -output-mlir working!
Robertorosmaninho Oct 12, 2019
d32cf26
Add Comments Headers in each file
Robertorosmaninho Oct 14, 2019
1b9b3ce
Doing de code generation of a function body on the right way using fu…
Robertorosmaninho Oct 15, 2019
10f0c2f
Add function calls support
Robertorosmaninho Oct 15, 2019
80ed92f
Merge branch 'master' into fix-llvm-10
Robertorosmaninho Oct 19, 2019
4928d80
add flags to compile without MLIR
Robertorosmaninho Oct 21, 2019
3dda4a5
generic add MLIRlibs
Robertorosmaninho Oct 21, 2019
933555d
fixing suffix typo
Robertorosmaninho Oct 21, 2019
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
Prev Previous commit
Next Next commit
commandline flag -output-mlir working!
  • Loading branch information
Robertorosmaninho committed Oct 3, 2019
commit 21a63c3218a420ca3e6a3502d80eedfb22026f30
2 changes: 2 additions & 0 deletions dmd/dmodule.d
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ version (IN_LLVM)
objExt = global.ll_ext;
else if (global.params.output_s)
objExt = global.s_ext;
else if (global.params.output_mlir)
objExt = global.mlir_ext;

if (objExt)
objfile = setOutfilename(global.params.objname, global.params.objdir, filename, objExt);
Expand Down
1 change: 1 addition & 0 deletions dmd/globals.d
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ version (IN_LLVM)
{
obj_ext = "o";
ll_ext = "ll";
mlir_ext = "mlir";
bc_ext = "bc";
s_ext = "s";
}
Expand Down