[LLVMdev] tbaa differences in llvm 3.0
Hal Finkel
hfinkel at anl.gov
Mon Feb 6 20:56:20 PST 2012
Maurice,
I think that your best option is to submit a patch that adds an option
to turn off the problematic overriding. As Dan confirmed, there is a
comment at the end of BasicAliasAnalysis::aliasGEP regarding "protecting
TBAA in the case of dynamic indices into arrays of unions", and the
logic at issue can be found there. Would a command-line option work for
you?
-Hal
On Mon, 2012-02-06 at 20:59 -0600, Maurice Marks wrote:
> Is this issue still active? It sounded as though Dan or Hal were
> looking at it but I havent seen an response. Should I resubmit as a
> bug so it gets tracked?
>
> thanks for your help
>
> On Tue, Jan 31, 2012 at 1:35 PM, Dan Gohman <gohman at apple.com> wrote:
> On Jan 30, 2012, at 4:04 PM, Hal Finkel wrote:
> >
> > Dan, where in the code is this done? I see a comment at the
> end of
> > BasicAliasAnalysis::aliasGEP regarding "protecting TBAA in
> the case of
> > dynamic indices into arrays of unions"; are you referring to
> that?
>
>
> Yes. And looking at the testcase, this appears to be the
> problem.
>
> Dan
>
>
>
>
> --
> Not sent from my Blackberry, Raspberry or Gooseberry!
>
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev
mailing list