[all-commits] [llvm/llvm-project] d8b2e4: [IR] Remove mul constant expression (#127046)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 14 00:29:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8b2e432d633e175a87e8fbc00e0f7a627ac4c9e
      https://github.com/llvm/llvm-project/commit/d8b2e432d633e175a87e8fbc00e0f7a627ac4c9e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M llvm/bindings/ocaml/llvm/llvm.ml
    M llvm/bindings/ocaml/llvm/llvm.mli
    M llvm/bindings/ocaml/llvm/llvm_ocaml.c
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm-c/Core.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/test/Analysis/ValueTracking/known-non-equal.ll
    M llvm/test/Assembler/ConstantExprFold.ll
    M llvm/test/Assembler/flags.ll
    M llvm/test/Bindings/OCaml/core.ml
    M llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
    M llvm/test/CodeGen/X86/ptrtoint-constexpr.ll
    M llvm/test/Other/constant-fold-gep-address-spaces.ll
    M llvm/test/Other/constant-fold-gep.ll
    M llvm/test/Transforms/GVN/2009-11-12-MemDepMallocBitCast.ll
    M llvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll
    M llvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll
    M llvm/test/Transforms/GlobalOpt/malloc-promote-2-no-null-opt.ll
    M llvm/test/Transforms/GlobalOpt/malloc-promote-2.ll
    M llvm/test/Transforms/GlobalOpt/malloc-promote-3.ll
    M llvm/test/Transforms/Inline/last-callsite.ll
    M llvm/test/Transforms/InstCombine/force-opaque-ptr.ll
    M llvm/test/Transforms/InstCombine/malloc-free.ll
    M llvm/test/Transforms/MemCpyOpt/memmove.ll
    M llvm/test/Transforms/NewGVN/2009-11-12-MemDepMallocBitCast.ll
    M llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table-constant-expr.ll
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [IR] Remove mul constant expression (#127046)

Remove support for the mul constant expression, which has previously
already been marked as undesirable. This removes the APIs to create mul
expressions and updates tests to stop using mul expressions.

Part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list