diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-11-16 11:20:47 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-11-16 11:30:15 +0000 |
| commit | 865f54e501739f382d33866baebfd0f9aaad01bb (patch) | |
| tree | 1d9939758e19452a34f4553d52fc7a929018eb8c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 825e4ae732f8e61fe69614005346a99ab2b67902 (diff) | |
[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/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
