[all-commits] [llvm/llvm-project] 39d7f7: [ConstraintElim] Support adding facts from switch ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 22 03:18:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39d7f700ce0103539fb00bd2841c5ca994c1a7f1
      https://github.com/llvm/llvm-project/commit/39d7f700ce0103539fb00bd2841c5ca994c1a7f1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/switch.ll

  Log Message:
  -----------
  [ConstraintElim] Support adding facts from switch terminators. (#67061)

After 4a5bcbd5602, switch instructions can now be handled in a
straight-forward manner by adding (ICMP_EQ, ConditionVal, CaseVal) for
te successor blocks per case.




More information about the All-commits mailing list