summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-28 14:23:32 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-28 14:23:32 +0000
commit753e21d057b2e6f2d73e67b738fa870cfa093d6d (patch)
tree52d9d4a323b94dce3c420ebbfc14a503779cf368 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentf6182155f62b49c073d161c25f2468b8ca63869a (diff)
downloadbcm5719-llvm-753e21d057b2e6f2d73e67b738fa870cfa093d6d.tar.gz
bcm5719-llvm-753e21d057b2e6f2d73e67b738fa870cfa093d6d.zip
Teach the inline cost analysis about calls that can be simplified and
how to propagate constants through insert and extract value instructions. With the recent improvements to instsimplify, this allows inline cost analysis to constant fold through intrinsic functions, including notably the with.overflow intrinsic math routines which often show up inside of STL abstractions. This is yet another piece in the puzzle of breaking down the code for: void f() { std::vector<int> v; v.push_back(1); } But it still isn't enough. There are a pile of bugs in inline cost still blocking this. llvm-svn: 171195
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud