[all-commits] [llvm/llvm-project] 9ff701: [LoopVectorizer] Silence warning in GetRegUsage.

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Nov 11 02:54:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ff701100a868b7b680aac5c54e9db21a55531fd
      https://github.com/llvm/llvm-project/commit/9ff701100a868b7b680aac5c54e9db21a55531fd
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LoopVectorizer] Silence warning in GetRegUsage.

This patch silences the warning:
	error: lambda capture 'DL' is not used [-Werror,-Wunused-lambda-capture]
	  auto GetRegUsage = [&DL, &TTI=TTI](Type *Ty, ElementCount VF) {
	                      ~^~~
	1 error generated.

Introduced in:
  https://reviews.llvm.org/rGb873aba3943c067a5efd5303cbdf5aeb0732cf88




More information about the All-commits mailing list