Do not optimize builtin annotated calls, based on the visibility on a
possible implementation. Other optimization passes might still need the
operand.
This fixes https://bugs.llvm.org/show_bug.cgi?id=49022
Differential D97672
[DeadArgElim] Do not optimize builtin annotated calls. jeroen.dobbelaere on Mar 1 2021, 3:16 AM. Authored by
Details Do not optimize builtin annotated calls, based on the visibility on a This fixes https://bugs.llvm.org/show_bug.cgi?id=49022
Diff Detail Event TimelineComment Actions This is an attempt to trigger the discussion. This patch fixes the observed issue, but it might not be the right place to do ? Comment Actions I am not sure if that's the right place to fix it. It seems like we cannot really trust builtin in this case and there probably are other places that would also need fixing? Comment Actions For info: Looks like https://github.com/llvm/llvm-project/issues/48366 (aka https://bugs.llvm.org/show_bug.cgi?id=49022) is closed nowadays. Solved by D97735. |