[all-commits] [llvm/llvm-project] 50cf0a: Allow empty value list in propagateMetadata(Inst, ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri May 7 11:27:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50cf0a1d1ae48bd0397b41a400e01c62975b6706
      https://github.com/llvm/llvm-project/commit/50cf0a1d1ae48bd0397b41a400e01c62975b6706
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/lib/Analysis/VectorUtils.cpp

  Log Message:
  -----------
  Allow empty value list in propagateMetadata(Inst, ArrayOf...)

This will allow writing
  propagateMetadata(Inst, collectInterestingValues(...))
without concern about empty lists. In case of an empty list,
Inst is returned without any changes.




More information about the All-commits mailing list