Skip to content
Commit ad495025 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

Add register Mips::GP to the list of reserved registers if target is bare-metal

to prevent it from being clobbered. mips uses $gp to access small data section.

This bug was originally reported by Carl Norum.

llvm-svn: 162340
parent 9d957842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment