aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-10-15 19:01:32 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-10-15 19:01:32 +0000
commitadbf58dc0b3cc85f02c379ee372c9fc06517e227 (patch)
tree0a9347b18269102aa01cc5c3f6e1d6258c4a2ee6 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parent6d989436d063502266f8bc27007e6bb294ef4ec7 (diff)
downloadllvm-adbf58dc0b3cc85f02c379ee372c9fc06517e227.zip
llvm-adbf58dc0b3cc85f02c379ee372c9fc06517e227.tar.gz
llvm-adbf58dc0b3cc85f02c379ee372c9fc06517e227.tar.bz2
[tablegen] Use hasPredCode()/hasImmCode() instead of getPredCode().empty()/getImmCode().empty(). NFC
These are cheaper ways of testing for the presence of code than generating the C++ code and testing it's empty. llvm-svn: 315872
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions