[PATCH] Cleanup register pressure calculation in MachineLICM

Daniel Jasper djasper at google.com
Wed Mar 25 06:17:56 PDT 2015


Hi qcolombet,

There were four almost identical implementations of calculating/updating the register pressure for a certain MachineInstr. Cleanup to have a single implementation (well, actually two, as bool flag now controls whether or not RegSeen should be considered).

Not functional changes intended.

http://reviews.llvm.org/D8604

Files:
  lib/CodeGen/MachineLICM.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8604.22643.patch
Type: text/x-patch
Size: 10105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150325/0fb741b6/attachment.bin>


More information about the llvm-commits mailing list