For the below test:
typedef float __attribute__((__vector_size__(16))) f4; f4 get(); int main() { float MyVar = get()[0]; if (MyVar) return 1; }
Debug location information for 'MyVar' is missing with -O2.
Check that Machine CSE correctly handles during the transformation, the
debug location information for local variables.
This function won't work as intended if MRI is null. Could you make it a reference so that future developers know to pass in a valid object?