From 5b2eb06816521cc0fcfe03258452560bd200002d Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 21 Sep 2023 14:00:48 -0700 Subject: Various slangpy fixes. (#3227) * Make dynamic cast transparent through `IRAttributedType`. * Add [CUDAXxx] variant of attributes. * Support marshaling of vector types. * Wrap cuda kernels in `extern "C"` block. --------- Co-authored-by: Yong He --- source/slang/slang-ir-sccp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ir-sccp.cpp') diff --git a/source/slang/slang-ir-sccp.cpp b/source/slang/slang-ir-sccp.cpp index 5ae858256..d874514fe 100644 --- a/source/slang/slang-ir-sccp.cpp +++ b/source/slang/slang-ir-sccp.cpp @@ -1022,7 +1022,7 @@ struct SCCPContext // that provide arguments. We will see that logic shortly, when // handling `IRUnconditionalBranch`. // - if(as(inst)) + if(as(inst)) return; // We want to special-case terminator instructions here, -- cgit v1.2.3