[all-commits] [llvm/llvm-project] 625113: [IR] Remove support for and/or constant expressions

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Aug 22 00:37:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 625113402f9febd4d8c907a342ea09a3c0982ba8
      https://github.com/llvm/llvm-project/commit/625113402f9febd4d8c907a342ea09a3c0982ba8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  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.rst
    M llvm/include/llvm-c/Core.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Core.cpp
    R llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll
    M llvm/test/Assembler/ConstantExprFold.ll
    M llvm/test/Bindings/OCaml/core.ml
    M llvm/test/Transforms/InstCombine/constant-fold-alias.ll
    M llvm/test/Transforms/InstCombine/select-and-or.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [IR] Remove support for and/or constant expressions

As part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179,
this removes support for and and or constant expressions. Places
creating such expressions have been migrated in advance, so this
is mostly API removal and test updates.

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




More information about the All-commits mailing list