Currently clang's medium code model treats all data as large, putting them in a large data section and using more expensive instruction sequences to access them.
Following gcc's -mlarge-data-threshold, which allows putting data under a certain size in a normal data section as opposed to a large data section. This allows using cheaper code sequences to access some portion of data in the binary (which will be implemented in LLVM in a future patch).
And under the medium codel mode, only put data above the large data threshold into large data sections, not all data.
Perhaps we should say x86-64 medium/large code model.
My https://gcc.gnu.org/pipermail/gcc-patches/2023-September/630207.html is still pending after many pings, but I think we can go ahead as the obvious choice.