[all-commits] [llvm/llvm-project] edcf3e: [IRSim] Treat Branch OperVals different from regul...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Sun Mar 19 16:44:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edcf3efd914409b2413c227fb333427585ea4957
      https://github.com/llvm/llvm-project/commit/edcf3efd914409b2413c227fb333427585ea4957
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
    M llvm/lib/Analysis/IRSimilarityIdentifier.cpp

  Log Message:
  -----------
  [IRSim] Treat Branch OperVals different from regular operands to ensure correct ordering

Branch operands are different from regular instructions. They can have a mix of boolean values and branch instructions. This makes sure that branches are treated as more of a special case and makes sure that the successor blocks are always in the same order, and that they do not include the conditional argument.

Reviewer: paquette
Differential Revision: https://reviews.llvm.org/D139337




More information about the All-commits mailing list