[clang] [llvm] [DropUnnecessaryAssumes] Add pass for dropping assumes (PR #159403)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 01:47:14 PDT 2025


nikic wrote:

> Could a possible follow-up drop identical assumes? If so, would it be possible to schedule this pass late? We see some redundant identical assumes in LV.

The responsibility for removing redundant assumes falls largely to InstCombine, and to a lesser degree other passes that propagate assumes (like GVN, SCCP).

https://github.com/llvm/llvm-project/pull/159403


More information about the llvm-commits mailing list