search for: 8d70b98

Displaying 2 results from an estimated 2 matches for "8d70b98".

2016 May 04
3
status of IPO/IPCP?
...ing what you think it's proving. In fact, the below passes all tests as well. When you call passes through `opt` they don't end up calling through the createXYZPass path. diff --git a/lib/Transforms/IPO/IPConstantPropagation.cpp b/lib/Transforms/IPO/IPConstantPropagation.cpp index b3ee499..8d70b98 100644 --- a/lib/Transforms/IPO/IPConstantPropagation.cpp +++ b/lib/Transforms/IPO/IPConstantPropagation.cpp @@ -253,7 +253,9 @@ char IPCP::ID = 0; INITIALIZE_PASS(IPCP, "ipconstprop", "Interprocedural constant propagation", false, false) -ModulePass *llvm::c...
2016 May 03
2
status of IPO/IPCP?
The pass is pretty rudimental (as the comment at the top of the file hints), and it seems LLVM already has IPSCCP (which should do a better job at interprocedural constant propagation). I'm also not entirely sure it's used anywhere. Is there any reason to keep it around? Thanks, -- Davide "There are no solved problems; there are only problems that are more or less solved" --