From c787c4b82ba76f87069911f203eb192060b5264f Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 28 Aug 2023 21:24:49 -0700 Subject: Add `target_switch` and `intrinsic_asm` statement. (#3154) * Add `target_switch` and `__intrinsic_asm` statement. * Cleanup. * WaveGetActiveMask, WaveGetActiveMask, WaveCountBits. * WaveIsFirstLane. * More wave intrinsics. * wave intrinsics. * merge fix. * Fix. * Fix. * Update test. * update test. * Fix. --------- Co-authored-by: Yong He --- source/slang/slang-ir-restructure.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-ir-restructure.cpp') diff --git a/source/slang/slang-ir-restructure.cpp b/source/slang/slang-ir-restructure.cpp index 7606de263..cfd1d4597 100644 --- a/source/slang/slang-ir-restructure.cpp +++ b/source/slang/slang-ir-restructure.cpp @@ -256,6 +256,7 @@ namespace Slang case kIROp_MissingReturn: case kIROp_Return: case kIROp_discard: + case kIROp_GenericAsm: // These cases are all simple terminators that can be handled as-is // without needing to construct a separate `Region` to encapsulate them. // -- cgit v1.2.3