We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb3ccf commit 9ba8d68Copy full SHA for 9ba8d68
source/slang/slang-ir-clone.cpp
@@ -311,8 +311,7 @@ void cloneDecoration(
311
{
312
// If the parent is hoistable and is the same as the original decoration's parent,
313
// skip cloning to avoid duplicating decorations
314
- if (getIROpInfo(newParent->getOp()).isHoistable() &&
315
- oldDecoration->getParent() == newParent)
+ if (getIROpInfo(newParent->getOp()).isHoistable() && oldDecoration->getParent() == newParent)
316
return;
317
318
IRBuilder builder(module);
0 commit comments