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

[mips] Use "or $r0, $r1, $zero" instead of "addu $r0, $zero, $r1" to copy

physical register $r1 to $r0.

GNU disassembler recognizes an "or" instruction as a "move", and this change
makes the disassembled code easier to read.

Original patch by Reed Kotler.

llvm-svn: 170655
parent 15b1e372
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