summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-16 23:27:26 -0700
committerGitHub <noreply@github.com>2023-05-16 23:27:26 -0700
commitd8ab2e893f3558b0b0ada5581d4b9e0fe4515d82 (patch)
treec16f0ff4770067f12d493a390922a959a95544e0
parent6ac0c6a688b33965ba83c18e68861f8f9c4f5250 (diff)
Make `GetSequentialID` a hoistable inst. (#2887)
Co-authored-by: Yong He <yhe@nvidia.com>
-rw-r--r--source/slang/slang-ir-inst-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-inst-defs.h b/source/slang/slang-ir-inst-defs.h
index ea7547171..da0c3618d 100644
--- a/source/slang/slang-ir-inst-defs.h
+++ b/source/slang/slang-ir-inst-defs.h
@@ -299,7 +299,7 @@ INST_RANGE(DifferentialPairGetPrimalBase, DifferentialPairGetPrimal, Differentia
INST(Specialize, specialize, 2, HOISTABLE)
INST(LookupWitness, lookupWitness, 2, HOISTABLE)
-INST(GetSequentialID, GetSequentialID, 1, 0)
+INST(GetSequentialID, GetSequentialID, 1, HOISTABLE)
INST(BindGlobalGenericParam, bind_global_generic_param, 2, 0)
INST(AllocObj, allocObj, 0, 0)