diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-05 19:50:25 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-05 19:50:25 +0000 |
commit | aa15ec3c231717826e3c262b5ef9813d2fb5cadb (patch) | |
tree | 7568deb0949012db2212e64fe18cef829e6780b1 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 36eab654c5c3e60329e731ed21d17f31ec70df3e (diff) | |
download | llvm-aa15ec3c231717826e3c262b5ef9813d2fb5cadb.zip llvm-aa15ec3c231717826e3c262b5ef9813d2fb5cadb.tar.gz llvm-aa15ec3c231717826e3c262b5ef9813d2fb5cadb.tar.bz2 |
Register/MCRegister: Add conversion operators to avoid use of implicit convert to unsigned. NFC
Summary:
This has no functional effect but makes it more obvious which parts of the
compiler do not use Register/MCRegister when you mark the implicit conversion
deprecated.
Implicit conversions for comparisons accounted for ~20% (~3k of ~13k) of
the implicit conversions when I first measured it. I haven't maintained
those numbers as other patches have landed though so it may be out of date.
Reviewers: arsenm
Reviewed By: arsenm
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65678
llvm-svn: 367916
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions