[all-commits] [llvm/llvm-project] de9ad9: Fix endless loop in optimizePhiConst with integer ...
Matthias Braun via All-commits
all-commits at lists.llvm.org
Wed May 11 08:49:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de9ad98d2d6358e6aa773f0bb5258b629bde9389
https://github.com/llvm/llvm-project/commit/de9ad98d2d6358e6aa773f0bb5258b629bde9389
Author: Matthias Braun <matze at braunis.de>
Date: 2022-05-11 (Wed, 11 May 2022)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/Transforms/CodeGenPrepare/X86/switch-phi-const.ll
Log Message:
-----------
Fix endless loop in optimizePhiConst with integer constant switch condition
Avoid endless loop in degenerate case with an integer constant as switch
condition as reported in https://reviews.llvm.org/D124552
More information about the All-commits
mailing list