diff options
author | Diogo Sampaio <diogo.sampaio@arm.com> | 2020-02-06 08:54:30 +0000 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-02-10 13:27:45 +0100 |
commit | a124bebdd5ff5cf49480956258c322ed9204943c (patch) | |
tree | d2231c4c8f5fa3987c72526a8b372a7b0b459282 /clang/test/Analysis/stackaddrleak.c | |
parent | 4ea0b397582a623cdaaca97ed304002531f9575d (diff) | |
download | bcm5719-llvm-a124bebdd5ff5cf49480956258c322ed9204943c.tar.gz bcm5719-llvm-a124bebdd5ff5cf49480956258c322ed9204943c.zip |
[ARM] Fix non-determenistic behaviour
Summary:
ARM Type Promotion pass does not clear
the container that defines if one variable
was visited or not, missing optimization
opportunities by luck when two llvm:Values
from different functions are allocated at
the same memory address.
Also fixes a comment and uses existing
method to pop and obtain last element
of the worklist.
Reviewers: samparker
Reviewed By: samparker
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73970
(cherry picked from commit 8ba2b6281075c65c1a47abed57810e1201942533)
Diffstat (limited to 'clang/test/Analysis/stackaddrleak.c')
0 files changed, 0 insertions, 0 deletions