[PATCH] D124159: [SimplifyCFG] Thread branches on same condition in more cases (PR54980)

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 05:38:08 PDT 2022


nikic added a comment.

@HanKuanChen Thanks for the report! I've landed a fix for this test case in https://github.com/llvm/llvm-project/commit/dc969061c68e62328607d68215ed8b9ef4a1e4b1. This is based on making SimplifyCFG behave more like JumpThreading, which does not have an infinite loop for this case. Let me know if you see further issues.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124159/new/

https://reviews.llvm.org/D124159



More information about the cfe-commits mailing list