forked from OSchip/llvm-project
ab8e1e6e5a
This patch avoids to fold `fir.box_addr` when the defining `fir.embox` op has a slice. If the op is folded the slice information are lost. This kind of problem occurred with code like: ``` call check(y(half+1:)) ``` where `y` is an array. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D123392 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
FIRAttr.cpp | ||
FIRDialect.cpp | ||
FIROps.cpp | ||
FIRType.cpp | ||
Inliner.cpp |