[RISCV][GISel] Fix incorrect call to getGlobalAddress in selectGlobalValue.
RISCVII::MO_HI was being passed to the offset argument instead of the flags argument. Adjust some other calls to not pass an explicit 0 to the offset argument since it already has a default value of 0.
parent
d0f6825d
Please register or sign in to comment