# Confusing ReleaseSmall optimization of \`asm volatile\` code

**URL:** <https://ziggit.dev/t/confusing-releasesmall-optimization-of-asm-volatile-code/14981>\
**Category:** Help\
**Tags:** learning, compiler\
**Created:** [April 16, 2026, 5:08pm UTC](https://ziggit.dev/t/confusing-releasesmall-optimization-of-asm-volatile-code/14981 "2026-04-16T17:08:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![npc1054657282](https://ziggit.dev/user_avatar/ziggit.dev/npc1054657282/32/5790_2.png) [@npc1054657282](https://ziggit.dev/u/npc1054657282)\
**Post date:** [April 17, 2026, 12:28am UTC](https://ziggit.dev/t/confusing-releasesmall-optimization-of-asm-volatile-code/14981/2 "2026-04-17T00:28:00Z")

</div>

I think this might involve an LLVM bug, but it’s best to report it to Zig first.

---

_[View the full topic](https://ziggit.dev/t/confusing-releasesmall-optimization-of-asm-volatile-code/14981)._
