================ @@ -4987,7 +4990,11 @@ class CodeGenFunction : public CodeGenTypeCache { const llvm::Twine &Name = ""); // Adds a convergence_ctrl token to |Input| and emits the required parent // convergence instructions. - llvm::CallBase *addControlledConvergenceToken(llvm::CallBase *Input); + template <typename CallType> + CallType *addControlledConvergenceToken(CallType *Input) { + return dyn_cast<CallType>( ---------------- Keenuts wrote:
Forgot to fix the use, and yes, should be a cast. Bad habits... https://github.com/llvm/llvm-project/pull/88918 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits