[all-commits] [llvm/llvm-project] 090f9d: Fix MSVC "not all control paths return a value" wa...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Aug 8 11:26:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 090f9d5a55338ee815f5a6ef7aaa1ed712f65e05
      https://github.com/llvm/llvm-project/commit/090f9d5a55338ee815f5a6ef7aaa1ed712f65e05
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-08 (Sat, 08 Aug 2020)

  Changed paths:
    M clang/lib/Tooling/Syntax/BuildTree.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.


  Commit: f13e92d4b273db255c6955eb7f2269caf1eb60c3
      https://github.com/llvm/llvm-project/commit/f13e92d4b273db255c6955eb7f2269caf1eb60c3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-08 (Sat, 08 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  [InstCombine] Use CreateVectorSplat(ElementCount) variant directly

This was introduced at rGe20223672100, and the CreateVectorSplat(unsigned NumElements) variant calls it internally


Compare: https://github.com/llvm/llvm-project/compare/cd5ab56bc406...f13e92d4b273


More information about the All-commits mailing list