[all-commits] [llvm/llvm-project] 7f4c94: [CodeGen] Postprocess PHI nodes for callbr

Bill Wendling via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:34:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f4c940bd0b526f25e11c51bb4d58a85024330ae
      https://github.com/llvm/llvm-project/commit/7f4c940bd0b526f25e11c51bb4d58a85024330ae
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    A llvm/test/CodeGen/X86/callbr-asm-phi-nodes.ll

  Log Message:
  -----------
  [CodeGen] Postprocess PHI nodes for callbr

When processing PHI nodes after a callbr, we need to make sure that the
PHI nodes on the default branch are resolved after the callbr
(inserted after INLINEASM_BR). The PHI node values on the indirect
branches are processed before the INLINEASM_BR.

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


  Commit: f97b68ef4ddd28a685e502653768c2a34c314cba
      https://github.com/llvm/llvm-project/commit/f97b68ef4ddd28a685e502653768c2a34c314cba
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M clang/test/Modules/asm-goto.c

  Log Message:
  -----------
  Fix testcase.


Compare: https://github.com/llvm/llvm-project/compare/30514f0afa3e...f97b68ef4ddd


More information about the All-commits mailing list