Since we are in constructor there is no need to perform redundant call to SmallVectorImpl::clear() inside assign function.
Although calling cheaper append function instead assign doesn't make any difference on optimized builds (DSE does the job removing stores), we still save some cycles
for debug binaries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo