[all-commits] [llvm/llvm-project] ccba60: [StackColoring] When remapping alloca's move the T...

topperc via All-commits all-commits at lists.llvm.org
Tue May 19 10:40:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ccba60a784e72fd6cd35cfb6f6290fa553395027
      https://github.com/llvm/llvm-project/commit/ccba60a784e72fd6cd35cfb6f6290fa553395027
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/StackColoring.cpp
    A llvm/test/CodeGen/X86/StackColoring-use-between-allocas.mir

  Log Message:
  -----------
  [StackColoring] When remapping alloca's move the To alloca if the From alloca is before it.

If To is after From its possible that there's a use of From
between them.

Fixes issue reported here http://lists.llvm.org/pipermail/llvm-dev/2020-May/141421.html

Differential Revision: https://reviews.llvm.org/D80101




More information about the All-commits mailing list