This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
This cuts runtime by around 20% from talloc_parent() lookups.