[llvm] [LV] Remove common extends and selects in CSE (PR #147731)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 08:48:50 PDT 2025


================
@@ -0,0 +1,59 @@
+; RUN: opt -S -passes=mergefunc < %s | FileCheck %s
----------------
SamTebbs33 wrote:

I added that test in https://github.com/llvm/llvm-project/pull/147731/commits/cddb3d40d4caf8d36cecca70876f81d906d060db#diff-3fa6a8143aecb0671500b746a37cf3a2008769e990e387e245c68982ac6f1163 to make sure that function merging works with extends, see https://github.com/llvm/llvm-project/pull/147731#discussion_r2197318628 .

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


More information about the llvm-commits mailing list