Skip to content
Commit 2f60ef2c authored by Craig Topper's avatar Craig Topper
Browse files

[DAGCombiner][TargetLowering] Pass a SmallVector instead of a std::vector to...

[DAGCombiner][TargetLowering] Pass a SmallVector instead of a std::vector to BuildSDIV/BuildUDIV/etc.

The vector contains the SDNodes that these functions create. The number of nodes is always a small number so we should use SmallVector to avoid a heap allocation.

llvm-svn: 338329
parent a2227a3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment