summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-28 19:44:20 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-28 19:44:20 +0000
commit9db3573d3aa7d91b5d4d766811c5f1ccaa91f39d (patch)
treecf55c38afd3d6a8a352da06e560f768a3e3f2aae /llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
parent5daa03254637225408c1220e8788125a569872d1 (diff)
downloadbcm5719-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/VPlanVerifier.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud