summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-05-16 03:11:07 +0000
committerMatthias Braun <matze@braunis.de>2015-05-16 03:11:07 +0000
commit352b89c460cc4827d0458925006a2d04686807db (patch)
tree92bb276ac40ada6408eba6ba5e63a5f617f3314a /llvm/lib/CodeGen/MachineInstr.cpp
parent9d5ae2174b5fabc251afe929abd5913e4b866cb7 (diff)
downloadbcm5719-llvm-352b89c460cc4827d0458925006a2d04686807db.tar.gz
bcm5719-llvm-352b89c460cc4827d0458925006a2d04686807db.zip
MachineSink: Collect registers before clearing their killflags.
Currently whenever we sink any instruction, we do clearKillFlags for every use of every use operand for that instruction, apparently there are a lot of duplication, therefore compile time penalties. This patch collect all the interested registers first, do clearKillFlags for it all together at once at the end, so we only need to do clearKillFlags once for one register, duplication is avoided. Patch by Lawrence Hu! Differential Revision: http://reviews.llvm.org/D9719 llvm-svn: 237510
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud