[llvm] InstCombine: Try to fold ldexp with select of power operand (PR #97354)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 01:25:46 PDT 2024


================
@@ -1023,6 +1023,13 @@ class IRBuilderBase {
                                  Name);
   }
 
+  /// Create call to the ldexp intrinsic.
+  Value *CreateLdexp(Value *Src, Value *Exp, const Twine &Name = "") {
----------------
dtcxzyw wrote:

Missing parameter `FMFSource`


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


More information about the llvm-commits mailing list