[all-commits] [llvm/llvm-project] 8ba2b6: [ARM] Fix non-determenistic behaviour

dnsampaio via All-commits all-commits at lists.llvm.org
Thu Feb 6 01:21:17 PST 2020

  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ba2b6281075c65c1a47abed57810e1201942533
  Author: Diogo Sampaio <diogo.sampaio at arm.com>
  Date:   2020-02-06 (Thu, 06 Feb 2020)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp

  Log Message:
  [ARM] Fix non-determenistic behaviour

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

More information about the All-commits mailing list