[llvm] [SelectionDAG] Don't convert sextload to zextload through a multi-use freeze (PR #196700)

Henry Jiang via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 07:58:22 PDT 2026


https://github.com/mustartt approved this pull request.

Hi, thanks for putting this up while I was away. The changes look good.

Before you commit, please update the description to mention the originating change so it's easier to go through the commit log. I.e some variant of this.

> The patch https://github.com/llvm/llvm-project/pull/189317 to teach DAGCombiner to look through freeze incorrectly introduce a miscompile of sext -> zext. This resolves resolves the miscompile.

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


More information about the llvm-commits mailing list