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

Reid Kleckner via All-commits all-commits at lists.llvm.org
Sat Mar 28 11:10:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e5bf5037d869c74bc2faf81fa1f58dfd827e8356
      https://github.com/llvm/llvm-project/commit/e5bf5037d869c74bc2faf81fa1f58dfd827e8356
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-03-28 (Sat, 28 Mar 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




More information about the All-commits mailing list