_Originally posted by @bcardosolopes in https://github.com/llvm/clangir/pull/1166#discussion_r1861314776_