summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-01-17 11:44:49 +0000
committerFlorian Hahn <flo@fhahn.com>2023-01-17 11:44:50 +0000
commitc95138392a75021c98f53b423b29995cb8a3283b (patch)
tree8bb22fd65cfa0a0abbd4f1bb74882088a710ed98 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente49367e7f379e54e482480a502f64196db2c5663 (diff)
[VPlan] Remove unnecessary getNumSuccessors call (NFC).
If ParentWithSuccs is nullptr, the number of successors is guaranteed to be 0. Simplify the code as suggested by @Ayal in D140511.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions