diff options
| author | Christopher Tetreault <ctetreau@quicinc.com> | 2020-06-16 13:19:15 -0700 |
|---|---|---|
| committer | Christopher Tetreault <ctetreau@quicinc.com> | 2020-06-16 13:41:29 -0700 |
| commit | b265cad93e70815cfad5eaaacfb095276a9a4213 (patch) | |
| tree | b6146de5f7b18cfa66978c9ed3a754f86a272cf3 /llvm/lib/CodeGen/MachineDominators.cpp | |
| parent | 747486991cc452f7a1861e4a7a30d069d5f34aab (diff) | |
| download | llvm-b265cad93e70815cfad5eaaacfb095276a9a4213.zip llvm-b265cad93e70815cfad5eaaacfb095276a9a4213.tar.gz llvm-b265cad93e70815cfad5eaaacfb095276a9a4213.tar.bz2 | |
[NFC] Bail out for scalable vectors before calling getNumElements
Summary:
Move the bail out logic to before constructing the Result and Lane
vectors. This is both potentially faster, and avoids calling
getNumElements on a potentially scalable vector
Reviewers: efriedma, sunfish, chandlerc, c-rhodes, fpetrogalli
Reviewed By: fpetrogalli
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81619
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
0 files changed, 0 insertions, 0 deletions
