Skip to content
Commit 03eb0e3c authored by Evan Cheng's avatar Evan Cheng
Browse files

Emit sub r, #c instead of transforming it to add r, #-c if c fits in 8-bit....

Emit sub r, #c instead of transforming it to add r, #-c if c fits in 8-bit. This is a bit of pre-mature optimization. 8-bit variant makes it likely it will be narrowed to a 16-bit instruction.

llvm-svn: 78030
parent 10ff786e
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