[llvm-bugs] [Bug 31344] New: Optimize 16-bit ORs with '0'
llvm-bugs at lists.llvm.org
Sat Dec 10 20:48:04 PST 2016
Bug ID: 31344
Summary: Optimize 16-bit ORs with '0'
Component: Backend: AVR
Assignee: unassignedbugs at nondot.org
Reporter: dylanmckay34 at gmail.com
CC: llvm-bugs at lists.llvm.org
Currently if we get an OR with immediate '0xff00', we will emit two ORI
instructions, one to OR with '0xff' and one to OR with '0x00'.
ORing with 0 is unnecessary and it just causes an extra redundant operation.
Let's optimise this operation in the pseudo instruction expander.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs