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

[mips] Implement the following optimizations using dominance information to

make PIC calls a little more efficient:

1. Remove instructions setting up $gp if it is known that a function has been
   called at least once.
2. Save the address of a called function in a register instead of loading
   it from the GOT at every call site.

llvm-svn: 195892
parent 6de7cd16
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