[all-commits] [llvm/llvm-project] 47e68d: [CodeGen] Fix sinking local values in lpads with phis

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon Apr 13 13:39:21 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 47e68d864420afd42d34fd25e97522e5c149de46
      https://github.com/llvm/llvm-project/commit/47e68d864420afd42d34fd25e97522e5c149de46
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/test/CodeGen/X86/sink-local-value.ll

  Log Message:
  -----------
  [CodeGen] Fix sinking local values in lpads with phis

There was already a test case for landingpads to handle this case, but I
had forgotten to consider PHI instructions preceding the EH_LABEL in the
landingpad.

PR45261

(cherry picked from commit e5bf5037d869c74bc2faf81fa1f58dfd827e8356)




More information about the All-commits mailing list