aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-16 11:20:47 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-16 11:30:15 +0000
commit865f54e501739f382d33866baebfd0f9aaad01bb (patch)
tree1d9939758e19452a34f4553d52fc7a929018eb8c /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parent825e4ae732f8e61fe69614005346a99ab2b67902 (diff)
downloadllvm-865f54e501739f382d33866baebfd0f9aaad01bb.zip
llvm-865f54e501739f382d33866baebfd0f9aaad01bb.tar.gz
llvm-865f54e501739f382d33866baebfd0f9aaad01bb.tar.bz2
[DAG] ISD::is*Load/is*Store - merge isa<>/cast<> calls into single dyn_cast<>. NFCI.
cast<> repeats most of the work that isa<> will have already done (and even calls assert(isa<>) in debug builds) - just use dyn_cast and a pointer check to avoid all this duplicated work.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions