From a911ca6e06ce41e403b80fe6054162393491c8ac Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 13 Mar 2023 10:57:28 -0700 Subject: Support high order diff pattern: `bwd_diff(fwd_diff(f))`. (#2695) * Support high order diff pattern: `bwd_diff(fwd_diff(f))`. * Fix. --------- Co-authored-by: Yong He --- source/slang/slang-ir-util.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-ir-util.cpp') diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp index 13920b011..254734965 100644 --- a/source/slang/slang-ir-util.cpp +++ b/source/slang/slang-ir-util.cpp @@ -174,6 +174,7 @@ bool isValueType(IRInst* dataType) case kIROp_ResultType: case kIROp_OptionalType: case kIROp_DifferentialPairType: + case kIROp_DifferentialPairUserCodeType: case kIROp_DynamicType: case kIROp_AnyValueType: case kIROp_ArrayType: -- cgit v1.2.3