diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-05-24 04:34:23 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-05-24 04:34:23 +0000 |
commit | c652b3455ec55704f2e7d152fa7e4f45283b3258 (patch) | |
tree | 233b1d74ff243f1afcbc25d1e071388f3e4baaeb /llvm/lib/CodeGen/SwiftErrorValueTracking.cpp | |
parent | 01d6173667f77722a31070fd186a50d3b3740207 (diff) | |
download | llvm-c652b3455ec55704f2e7d152fa7e4f45283b3258.zip llvm-c652b3455ec55704f2e7d152fa7e4f45283b3258.tar.gz llvm-c652b3455ec55704f2e7d152fa7e4f45283b3258.tar.bz2 |
[NFC] SwitchInst: Introduce wrapper for prof branch_weights handling
This patch introduces a wrapper class that re-implements
several mutator methods of SwitchInst to handle changes
of prof branch_weights metadata along with remove/add
switch case methods.
Subsequent patches will use this wrapper to implement
prof branch_weights metadata handling for SwitchInst.
Reviewers: davidx, eraman, reames, chandlerc
Reviewed By: davidx
Differential Revision: https://reviews.llvm.org/D62122
llvm-svn: 361596
Diffstat (limited to 'llvm/lib/CodeGen/SwiftErrorValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions