[all-commits] [llvm/llvm-project] 49e3e7: [ConstantFold] Clean up binop identity folding

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 18 01:38:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49e3e7514309823e39627175d5337c5d5aff92c1
      https://github.com/llvm/llvm-project/commit/49e3e7514309823e39627175d5337c5d5aff92c1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll

  Log Message:
  -----------
  [ConstantFold] Clean up binop identity folding

Resolve the two FIXMEs: Perform the binop identitiy fold with
AllowRHSConstant, and remove redundant folds later in the code.




More information about the All-commits mailing list