[llvm] r185883 - Fix a bug in IRBuilder::ClearInsertionPoint. The IR Builder needs to reset both the BB and the insert point inside the BB.

Eric Christopher echristo at gmail.com
Mon Jul 8 17:04:14 PDT 2013


On Mon, Jul 8, 2013 at 4:27 PM, Nadav Rotem <nrotem at apple.com> wrote:
> Author: nadav
> Date: Mon Jul  8 18:27:43 2013
> New Revision: 185883
>
> URL: http://llvm.org/viewvc/llvm-project?rev=185883&view=rev
> Log:
> Fix a bug in IRBuilder::ClearInsertionPoint. The IR Builder needs to reset both the BB and the insert point inside the BB.
>

I'd run into this in the past and didn't think much of it because all
of the SetInsertPoint routines set both variables. How'd you run into
this?

-eric



More information about the llvm-commits mailing list