[llvm] r179140 - Generalize the PassConfig API and remove addFinalizeRegAlloc().
Andrew Trick
atrick at apple.com
Tue Apr 9 21:50:32 PDT 2013
On Apr 9, 2013, at 6:14 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> On 4/9/2013 8:06 PM, Andrew Trick wrote:
>>
>> [...] remove addFinalizeRegAlloc().
>
> We are using "addFinalizeRegAlloc". Is "insert-pass(after rewrite)" the intended substitute?
Sorry, I thought that hook was a temporary hack and didn't have out-of-tree users yet. I'm glad your were paying attention.
Please try either:
PassConfig->insertPass(&VirtRegRewriterID, &TargetPostRegallocID)
or
PassConfig->insertPass(&VirtRegRewriterID, createTargetPostRegallocPass())
-Andy
More information about the llvm-commits
mailing list