[PATCH] D155924: [IR] Remove support for and constant expressions

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 01:53:44 PDT 2023


nikic created this revision.
nikic added reviewers: reames, nhaehnle.
Herald added subscribers: StephenFan, pengfei, asbirlea, atanasyan, jrtc27, hiraditya, sdardis.
Herald added a reviewer: deadalnix.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


https://reviews.llvm.org/D155924

Files:
  llvm/bindings/ocaml/llvm/llvm.ml
  llvm/bindings/ocaml/llvm/llvm.mli
  llvm/bindings/ocaml/llvm/llvm_ocaml.c
  llvm/docs/ReleaseNotes.rst
  llvm/include/llvm-c/Core.h
  llvm/include/llvm/IR/Constants.h
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/IR/Core.cpp
  llvm/test/Analysis/ValueTracking/func-ptr-lsb.ll
  llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll
  llvm/test/Assembler/2009-03-24-ZextConstantExpr.ll
  llvm/test/Assembler/ConstantExprFold.ll
  llvm/test/Bindings/OCaml/core.ml
  llvm/test/CodeGen/ARM/2007-04-03-UndefinedSymbol.ll
  llvm/test/CodeGen/ARM/load-address-masked.ll
  llvm/test/CodeGen/Hexagon/packetize-l2fetch.ll
  llvm/test/CodeGen/Mips/pr42736.ll
  llvm/test/CodeGen/X86/2007-04-24-VectorCrash.ll
  llvm/test/CodeGen/X86/pre-coalesce-2.ll
  llvm/test/CodeGen/X86/tailcall-returndup-void.ll
  llvm/test/CodeGen/X86/x86-64-tls-1.ll
  llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll
  llvm/test/Transforms/InstCombine/constant-fold-alias.ll
  llvm/test/Transforms/InstCombine/gepgep.ll
  llvm/test/Transforms/InstCombine/select-and-or.ll
  llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
  llvm/test/Transforms/LICM/pr23608.ll
  llvm/test/Transforms/LoopIdiom/basic.ll
  llvm/test/Transforms/SimplifyCFG/PR9946.ll
  llvm/unittests/IR/ConstantsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155924.542800.patch
Type: text/x-patch
Size: 33804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230721/7ab42d72/attachment-0001.bin>


More information about the llvm-commits mailing list