[all-commits] [llvm/llvm-project] c69165: [MergeICmps] Try to fix MSVC build failure

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 26 08:31:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c691651c53485a07db5b529e5a465eee397b7987
      https://github.com/llvm/llvm-project/commit/c691651c53485a07db5b529e5a465eee397b7987
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

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

  Log Message:
  -----------
  [MergeICmps] Try to fix MSVC build failure

Apparently this fails to line up the types -- try to sidestep the
issue entirely by writing the code in a more reasonable way: Walk
over the operands and perform a set lookup, rather than walking
over the set and performing an operand scan.




More information about the All-commits mailing list