[llvm] [InstCombine] Fold scalbn libcalls to llvm.ldexp (PR #216573)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 03:36:25 PDT 2026


================
@@ -1956,6 +1956,13 @@ static Value *replaceBinaryCall(CallInst *CI, IRBuilderBase &B,
   return copyFlags(*CI, NewCall);
 }
 
+static Value *replaceScalbnWithLdexp(CallInst *CI, IRBuilderBase &B) {
----------------
arsenm wrote:

Don't need this single use function, it's not reusable 

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


More information about the llvm-commits mailing list