Issue 133984
Summary MemcpyOpt doesn't strip TBAA correctly
Labels
Assignees
Reporter gbaraldi
    While debugging https://github.com/JuliaLang/julia/issues/57959. It got minimized to what looks to be a bug in MemCpyOpt, where it strips the noalias attribute of a memcpy https://github.com/llvm/llvm-project/blob/3c7a0e6c826b8bcfa4ec6154fd4247658ca3a03f/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp#L1682-L1688 but not the other aliasing metadatas (tbaa,tbaa.struct). Probably using `combineMetadata` as used elsewhere in the pass
@khei4 was the one that originally added this optimization
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to