aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2022-04-08 21:16:08 +0200
committerValentin Clement <clementval@gmail.com>2022-04-08 21:16:55 +0200
commitab8e1e6e5ace6ba9b7c44caa2409bf8e33cdee96 (patch)
tree771a06a7d5f7febc1f66c63b7fd1a5d7c29b82dc /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent8aa1490513f111afd407d87c3f07d26f65c8a686 (diff)
downloadllvm-ab8e1e6e5ace6ba9b7c44caa2409bf8e33cdee96.zip
llvm-ab8e1e6e5ace6ba9b7c44caa2409bf8e33cdee96.tar.gz
llvm-ab8e1e6e5ace6ba9b7c44caa2409bf8e33cdee96.tar.bz2
[flang] Do not fold fir.box_addr when it has a slice
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
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions