[PATCH] D65234: [CodeGen]: don't treat structures returned in registers as memory inputs

Alexander Potapenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 02:14:11 PDT 2019


glider added a comment.

+srhines
Heads up: this patch reduces the size of the following Android kernel functions:

  _raw_spin_lock and _raw_spin_lock_bh: 132 bytes->68 bytes
  _raw_spin_lock_irq: 136 bytes->72 bytes
  _raw_spin_lock_irqsave: 144 bytes->80 bytes
  _raw_spin_trylock: 156 bytes->112 bytes
  _raw_spin_trylock_bh: 136 bytes->92 bytes


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65234





More information about the cfe-commits mailing list