diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-07-28 19:44:20 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-07-28 19:44:20 +0000 |
| commit | 9db3573d3aa7d91b5d4d766811c5f1ccaa91f39d (patch) | |
| tree | cf55c38afd3d6a8a352da06e560f768a3e3f2aae /llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp | |
| parent | 5daa03254637225408c1220e8788125a569872d1 (diff) | |
| download | bcm5719-llvm-9db3573d3aa7d91b5d4d766811c5f1ccaa91f39d.tar.gz bcm5719-llvm-9db3573d3aa7d91b5d4d766811c5f1ccaa91f39d.zip | |
[SelectionDAG] Pass std::vector by reference instead of by pointer to BuildSDIV/BuildUDIV.
This removes the need for an assert to ensure the pointer isn't null.
Years ago we had ifs the checked the pointer was non-null before very access to the vector. These checks were removed and replaced with a single assert. But a reference seems more suitable here.
llvm-svn: 338205
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp')
0 files changed, 0 insertions, 0 deletions

