benshi001 added a comment.

On 32-bit / 64-bit machines, a function returning lower types (via a register) 
should an explicit sign/zero extension to full fill the register.

But on AVR, a 8-bit register is used to return 8-bit values, so the sign/zero 
extension is unnecessary, and lead to extra useless assembly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139908/new/

https://reviews.llvm.org/D139908

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to