[all-commits] [llvm/llvm-project] 2827aa: [InstCombine] Fix evaluation order dependent fold

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 14 08:22:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2827aa9dafa7e0c45697bf4fc5b067cae26623c4
      https://github.com/llvm/llvm-project/commit/2827aa9dafa7e0c45697bf4fc5b067cae26623c4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll

  Log Message:
  -----------
  [InstCombine] Fix evaluation order dependent fold

Make sure the function arguments are evaluated in a predictable
order.




More information about the All-commits mailing list