[llvm] [InstSimplify] Fold value-preserving zext/sext of trunc (PR #204089)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 5 10:24:00 PDT 2026


dtcxzyw wrote:

Looks like auto-merge was blocked.

> What do you think about adding a @llvm.assume to keep the information?

It is generally impossible. We cannot lift a deferred UB into an immediate UB.


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


More information about the llvm-commits mailing list