aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-12-01 19:26:39 -0800
committerYonghong Song <yhs@fb.com>2020-12-02 22:27:17 -0800
commit61a06c071dd16a9725d3b7bfac806520dc1b95aa (patch)
tree941b66ba17d2d2a40740d798182d48309a8e652a /clang/lib/Frontend/CompilerInvocation.cpp
parentc1ba991e8dd69b17fd2d88be5f6cf2b23d382c6c (diff)
downloadllvm-61a06c071dd16a9725d3b7bfac806520dc1b95aa.zip
llvm-61a06c071dd16a9725d3b7bfac806520dc1b95aa.tar.gz
llvm-61a06c071dd16a9725d3b7bfac806520dc1b95aa.tar.bz2
BPF: add a test for selectiondag alias analysis w.r.t. lifetime
This adds a test for the bug https://bugs.llvm.org/show_bug.cgi?id=47591 Previously, selection dag has a bug which may incorrectly assume no alias when crossing a lifetime boundary and this may generate incorrect code as demonstrated in the above bug. It looks the bug is fixed by https://reviews.llvm.org/D91833. Basically, when comparing two potential memory access dag nodes, a store and a lifetime.start, with the same frame index. Previously, it may be decided no alias. With the above fix, these two will be considered aliasing which will prevent incorrect code scheduling. Differential Revision: https://reviews.llvm.org/D92451
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions