[LLVMdev] TBAA fail on optimization, why?
NAKAMURA Takumi
geek4civic at gmail.com
Thu Sep 20 19:05:21 PDT 2012
2012/9/20 Jun Koi <junkoi2004 at gmail.com>:
> %0 = load i32* @aaa, !tbaa !1
> %1 = load i32* @bbb, !tbaa !2
> store i32 %2, i32* @aaa, !tbaa !2
> store i32 %1, i32* @bbb, !tbaa !1 ; <==== WHY
Why are you tagging each "store" with different classes against
corresponding "load(s)"?
> store i32 %2, i32* @aaa, !tbaa !1
> store i32 %1, i32* @bbb, !tbaa !2
I guess it would be more expected.
...Takumi
More information about the llvm-dev
mailing list