[all-commits] [llvm/llvm-project] 0dca0b: [Inline] Expand test to show dropped metadata (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 18 12:23:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dca0b7034281015cfffb3c91fc89c53b220dc49
      https://github.com/llvm/llvm-project/commit/0dca0b7034281015cfffb3c91fc89c53b220dc49
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/test/Transforms/Inline/noalias-cs.ll

  Log Message:
  -----------
  [Inline] Expand test to show dropped metadata (NFC)

The metadata from the %c load gets dropped.


  Commit: f4a3969bffceac2df4bee10992ea48136122cae0
      https://github.com/llvm/llvm-project/commit/f4a3969bffceac2df4bee10992ea48136122cae0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/noalias-cs.ll

  Log Message:
  -----------
  [Inline] Fix incorrectly dropped noalias metadata

This is the same fix as 23aeadb89df38406dc4d929d08286f7ce31040eb,
just for CloneScopedAliasMetadata rather than PropagateCallSiteMetadata.

In this case the previous outcome was incorrectly dropped metadata,
as it was not part of the computed metadata map.

The real change in the test is that the first load now retains
metadata, the rest of the changes are due to changes in metadata
numbering.


Compare: https://github.com/llvm/llvm-project/compare/562addba652e...f4a3969bffce


More information about the All-commits mailing list