Skip to content
Commit 464e807d authored by Nadav Rotem's avatar Nadav Rotem
Browse files

For each function that we optimize we initialize a new list of lib functions....

For each function that we optimize we initialize a new list of lib functions. For each function name we malloc memory. This patch changes the Libcall map to use BumpPtrAllocator. Now we malloc only once. This speeds up instcombine by a few % on a large c++ program.

llvm-svn: 176170
parent c5eda3ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment