
This PR upstreams the GotoSolver pass. It works by walking the function and matching each label to a goto. If a label is not matched to a goto, it is removed and not lowered.
24 lines
316 B
CMake
24 lines
316 B
CMake
add_clang_library(MLIRCIRTransforms
|
|
CIRCanonicalize.cpp
|
|
CIRSimplify.cpp
|
|
FlattenCFG.cpp
|
|
HoistAllocas.cpp
|
|
LoweringPrepare.cpp
|
|
GotoSolver.cpp
|
|
|
|
DEPENDS
|
|
MLIRCIRPassIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
clangAST
|
|
clangBasic
|
|
|
|
MLIRAnalysis
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRTransformUtils
|
|
|
|
MLIRCIR
|
|
MLIRCIRInterfaces
|
|
)
|