[llvm-commits] [pr12979][patch/rfc] Clear nsw/nuw in gvn

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Jun 3 07:42:00 PDT 2012


>> * Two loads from different languages: They cannot alias, so there is
>> no ancestor and we will simply drop the tbaa.
>
> This is not what the LLVM assembly guide says, as i quoted ;)
> It says loads in two different tbaa trees are considered to alias.

Sorry, I somehow flipped the meaning in my head. A load from two
different languages cannot share a node in the tbaa tree, so they are
assumed to alias. If merging two loads from different languages we
will correctly drop the tbaa metadata.

Cheers,
Rafael



More information about the llvm-commits mailing list