[all-commits] [llvm/llvm-project] 4bd072: [LAA] Fix the build with older versions of Clang

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Jul 18 05:02:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bd072c56b878af3b7a274dd942e7f8ccf632b32
      https://github.com/llvm/llvm-project/commit/4bd072c56b878af3b7a274dd942e7f8ccf632b32
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

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

  Log Message:
  -----------
  [LAA] Fix the build with older versions of Clang

llvm/lib/Analysis/LoopAccessAnalysis.cpp:916:12: error: no viable conversion from returned value of type 'SmallVector<[...], 2>' to function return type 'SmallVector<[...], (default)
      CalculateSmallVectorDefaultInlinedElements<T>::value aka 3>'
    return Scevs;
           ^~~~~




More information about the All-commits mailing list