[all-commits] [llvm/llvm-project] f4145d: [GISel] Don't fold convergent instruction across CFG

qcolombet via All-commits all-commits at lists.llvm.org
Fri Jul 1 10:24:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4145ddf5bedb1b87574f37df56be691ab554abd
      https://github.com/llvm/llvm-project/commit/f4145ddf5bedb1b87574f37df56be691ab554abd
  Author: Quentin Colombet <qcolombet at apple.com>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp

  Log Message:
  -----------
  [GISel] Don't fold convergent instruction across CFG

Before merging two instructions together, GISel does some sanity checks
that the folding is legal. However that check was missing that the
source of the pattern may be convergent. When the destination location
is in a different basic block, the folding is invalid.

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




More information about the All-commits mailing list