From 0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 27 Oct 2022 12:19:30 -0700 Subject: Rename `__jvp`-->`__fwd_diff`. (#2471) Co-authored-by: Yong He --- source/slang/slang-ir.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/slang/slang-ir.cpp') diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index 2aaeb4ac3..3a59eb6c9 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -3065,11 +3065,11 @@ namespace Slang return inst; } - IRInst* IRBuilder::emitJVPDifferentiateInst(IRType* type, IRInst* baseFn) + IRInst* IRBuilder::emitForwardDifferentiateInst(IRType* type, IRInst* baseFn) { - auto inst = createInst( + auto inst = createInst( this, - kIROp_JVPDifferentiate, + kIROp_ForwardDifferentiate, type, baseFn); addInst(inst); -- cgit v1.2.3