diff options
author | Florian Hahn <flo@fhahn.com> | 2023-01-17 11:44:49 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-01-17 11:44:50 +0000 |
commit | c95138392a75021c98f53b423b29995cb8a3283b (patch) | |
tree | 8bb22fd65cfa0a0abbd4f1bb74882088a710ed98 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | e49367e7f379e54e482480a502f64196db2c5663 (diff) | |
download | llvm-c95138392a75021c98f53b423b29995cb8a3283b.zip llvm-c95138392a75021c98f53b423b29995cb8a3283b.tar.gz llvm-c95138392a75021c98f53b423b29995cb8a3283b.tar.bz2 |
[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/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions