Commit 39edac23 authored by Craig Topper's avatar Craig Topper
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment