[all-commits] [llvm/llvm-project] b85f91: [InstSimplify] SimplifyPHINode(): check that instr...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Aug 27 12:32:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b85f91fdced8e94c43f3350152bcb2ccfa71ef14
      https://github.com/llvm/llvm-project/commit/b85f91fdced8e94c43f3350152bcb2ccfa71ef14
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] SimplifyPHINode(): check that instruction is in basic block first

As pointed out in post-commit review, this can legally be called
on instructions that are not inserted into basic blocks,
so don't blindly assume that there is basic block.




More information about the All-commits mailing list