Displaying 2 results from an estimated 2 matches for "cb51ea8".
2016 Mar 21
2
[Inliner] Loop info in the inliner
...inliner does not take into account if a call is inside a loop. I'm trying to figure out if loop-info can be made available to the inliner.
When I try to add LoopInfoWrapperPass to Inliner.cpp,
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cppindex 568707d..cb51ea8 100644--- a/llvm/lib/Transforms/IPO/Inliner.cpp+++ b/llvm/lib/Transforms/IPO/Inliner.cpp@@ -14,6 +14,7 @@ //===----------------------------------------------------------------------===//
#include "llvm/Transforms/IPO/InlinerPass.h"+#include "llvm/Analysis/LoopInfo.h" #include &...
2016 Mar 22
0
[Inliner] Loop info in the inliner
...inside a
> loop. I'm trying to figure out if loop-info can be made available to
> the inliner.
>
> When I try to add LoopInfoWrapperPass to Inliner.cpp,
>
>
> diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp
> b/llvm/lib/Transforms/IPO/Inliner.cpp
> index 568707d..cb51ea8 100644
> --- a/llvm/lib/Transforms/IPO/Inliner.cpp
> +++ b/llvm/lib/Transforms/IPO/Inliner.cpp
> @@ -14,6 +14,7 @@
> //===----------------------------------------------------------------------===//
>
> #include "llvm/Transforms/IPO/InlinerPass.h"
> +#include "l...