[PATCH] D145382: [ConstExpr] Remove select constant expression

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 07:04:05 PST 2023


nikic created this revision.
nikic added reviewers: nhaehnle, reames.
Herald added subscribers: kosarev, pmatos, asb, ormris, StephenFan, kerbowa, pengfei, steven_wu, hiraditya, jgravelle-google, sbc100, jvesely, nemanjai, dschuff, qcolombet, MatzeB.
Herald added a reviewer: deadalnix.
Herald added a project: All.
nikic requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

This removes the `select` constant expression, as part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179. Uses of this expressions have already been removed in advance, so this just removes related infrastructure and updates tests.


https://reviews.llvm.org/D145382

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/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/IR/ConstantsContext.h
  llvm/lib/IR/Core.cpp
  llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
  llvm/test/Analysis/ScalarEvolution/logical-operations.ll
  llvm/test/Assembler/ConstantExprFoldSelect.ll
  llvm/test/Bindings/OCaml/core.ml
  llvm/test/Bitcode/select.ll
  llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
  llvm/test/Bitcode/vscale-round-trip.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-constantexpr.ll
  llvm/test/CodeGen/Generic/pr33094.ll
  llvm/test/CodeGen/PowerPC/ext-bool-trunc-repl.ll
  llvm/test/CodeGen/PowerPC/pr24636.ll
  llvm/test/CodeGen/WebAssembly/call.ll
  llvm/test/CodeGen/X86/2008-09-19-RegAllocBug.ll
  llvm/test/CodeGen/X86/no-plt.ll
  llvm/test/CodeGen/X86/pr44749.ll
  llvm/test/ThinLTO/X86/funcattrs-prop-unknown.ll
  llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
  llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll
  llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll
  llvm/test/Transforms/InstCombine/cast.ll
  llvm/test/Transforms/InstCombine/pr28725.ll
  llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
  llvm/test/Transforms/InstSimplify/pr28725.ll
  llvm/unittests/Analysis/ValueTrackingTest.cpp
  llvm/unittests/IR/ConstantsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145382.502631.patch
Type: text/x-patch
Size: 48623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230306/94c8a4db/attachment.bin>


More information about the llvm-commits mailing list