aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2019-08-05 19:50:25 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2019-08-05 19:50:25 +0000
commitaa15ec3c231717826e3c262b5ef9813d2fb5cadb (patch)
tree7568deb0949012db2212e64fe18cef829e6780b1 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent36eab654c5c3e60329e731ed21d17f31ec70df3e (diff)
downloadllvm-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