In src/compiler/array-tran.lisp
you can also find this code:
(deftransform row-major-aref ((array index))
`(hairy-data-vector-ref array
(%check-bound array (array-total-size array) index)))
I'm not an expert in SBCL internals, but I assume that row-major-aref
is treated by the compiler as the "basic" operation that is not reduced to other Lisp function calls, but rather transformed to machine code.