[llvm] [DXIL] Implement pow lowering (PR #86733)

Joshua Batista via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 13:34:32 PDT 2024


================
@@ -197,6 +198,26 @@ static bool expandLog10Intrinsic(CallInst *Orig) {
   return expandLogIntrinsic(Orig, numbers::ln2f / numbers::ln10f);
 }
 
+static bool expandPowIntrinsic(CallInst *Orig) {
----------------
bob80905 wrote:

Or, perhaps false can be returned in certain cases, like if Orig is null or if Ty happens to be invalid.

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


More information about the llvm-commits mailing list