[all-commits] [llvm/llvm-project] 77b923: [ConstantFolding] Do not remove side effect from c...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Dec 21 22:47:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77b923d0dbe30f99b27ad533ef4322ee176b2046
      https://github.com/llvm/llvm-project/commit/77b923d0dbe30f99b27ad533ef4322ee176b2046
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/constfold-constrained.ll
    M llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll
    M llvm/test/Transforms/InstSimplify/strictfp-fadd.ll

  Log Message:
  -----------
  [ConstantFolding] Do not remove side effect from constrained functions

According to the discussion in https://reviews.llvm.org/D110322 the code
that removes side effect from replaced function call is deleted.

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




More information about the All-commits mailing list