[PATCH] D41543: [Transforms] Propagate new-format TBAA tags on simplification of memory-transfer intrinsics

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 21:12:40 PST 2018


sepavloff added a comment.

I applied this patch (target: i686-pc-windows-msvc) and run the test. No TBAA decorations present in the output. When running `struct-assign-tbaa.ll` from the same directory, the TBAA decorations are observed.



================
Comment at: test/Transforms/InstCombine/struct-assign-tbaa-new.ll:42
+!5 = !{!1, !"pointer"}
+!6 = !{!1, i64 8, !"B", !5, i64 0, i64 8}
+!7 = !{!6, !6, i64 0, i64 8}
----------------
Pointer size depends on the platform. I would recommend you to add a target layout. See `struct-assign-tbaa.ll` for example.


Repository:
  rL LLVM

https://reviews.llvm.org/D41543





More information about the llvm-commits mailing list