[PATCH] D73970: [ARM] Fix non-determenistic behaviour
Diogo N. Sampaio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 08:22:49 PST 2020
dnsampaio created this revision.
dnsampaio added a reviewer: samparker.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.
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 obtain the are
allocated at the same memory address.
Also fixes a comment and uses existing
method to pop and obtain last element
of the worklist.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73970
Files:
llvm/lib/CodeGen/TypePromotion.cpp
llvm/test/CodeGen/ARM/non-deterministic-type-promotion.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73970.242343.patch
Type: text/x-patch
Size: 110807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/862e4d12/attachment.bin>
More information about the llvm-commits
mailing list