[all-commits] [llvm/llvm-project] b7a338: [GVNHoist] add cast to unbreak windows build

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Mar 13 11:23:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7a33893f59844e265aad2587fe899b83c80dfe5
      https://github.com/llvm/llvm-project/commit/b7a33893f59844e265aad2587fe899b83c80dfe5
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVNHoist.cpp

  Log Message:
  -----------
  [GVNHoist] add cast to unbreak windows build

Follow up to
commit 831e99fee90e ("[GVNHoist] don't hoist callbr users into the callbr's block")

Looks like MSVC has trouble with llvm::is_contained. Unbreak the build.

Link: https://lab.llvm.org/buildbot/#/builders/127/builds/45021/steps/7/logs/stdio

Reviewed By: hans, kuhar

Differential Revision: https://reviews.llvm.org/D145969




More information about the All-commits mailing list