Add a new pass to do llvm.objsize lowering using SCEV.

Initial skeleton and SCEVUnknown lowering implemented,
the rest should come relatively quickly.  Move testcase
to new directory.

Move pass to right before SimplifyLibCalls - which is
moved down a bit so we can take advantage of a few opts.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2010-02-09 00:35:38 +00:00
parent b8d6e98e56
commit 1926b648e1
5 changed files with 129 additions and 7 deletions

View File

@ -336,6 +336,12 @@ FunctionPass *createSCCVNPass();
//
FunctionPass *createABCDPass();
//===----------------------------------------------------------------------===//
//
// ObjSizeLowering - Lower Intrinsic::objsize
//
FunctionPass *createObjectSizeLoweringPass();
} // End llvm namespace
#endif