[llvm] llvm-reduce: Fix losing call metadata in operands-to-args (PR #133422)
    Tim Gymnich via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Mar 29 05:52:21 PDT 2025
    
    
  
================
@@ -111,6 +111,8 @@ static void replaceFunctionCalls(Function *OldF, Function *NewF) {
     if (auto *FPOp = dyn_cast<FPMathOperator>(NewCI))
       NewCI->setFastMathFlags(CI->getFastMathFlags());
----------------
tgymnich wrote:
use `isa` instead of `dyn_cast`?
https://github.com/llvm/llvm-project/pull/133422
    
    
More information about the llvm-commits
mailing list