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

Hans via All-commits all-commits at lists.llvm.org
Mon Feb 10 04:32:31 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a124bebdd5ff5cf49480956258c322ed9204943c
      https://github.com/llvm/llvm-project/commit/a124bebdd5ff5cf49480956258c322ed9204943c
  Author: Diogo Sampaio <diogo.sampaio at arm.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

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

  Log Message:
  -----------
  [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)




More information about the All-commits mailing list