[all-commits] [llvm/llvm-project] 56c1d3: [IR] Remove support for lshr/ashr constant express...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 14 00:25:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56c1d30183e156365f7057f5945b2bc48fdb32e7
      https://github.com/llvm/llvm-project/commit/56c1d30183e156365f7057f5945b2bc48fdb32e7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-14 (Tue, 14 Nov 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/AsmParser/LLParser.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/test/Assembler/2003-05-21-MalformedShiftCrash.ll
    R llvm/test/Assembler/2003-11-05-ConstantExprShift.ll
    M llvm/test/Assembler/flags.ll
    M llvm/test/Assembler/vector-shift.ll
    M llvm/test/CodeGen/AArch64/fold-global-offsets.ll
    M llvm/test/CodeGen/X86/2009-01-18-ConstantExprCrash.ll
    M llvm/test/CodeGen/X86/pre-coalesce-2.ll
    M llvm/test/DebugInfo/AArch64/asan-stack-vars.mir
    M llvm/test/Transforms/InstCombine/and-or.ll
    M llvm/test/Transforms/InstSimplify/2011-10-27-BinOpCrash.ll
    R llvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [IR] Remove support for lshr/ashr constant expressions (#71955)

Remove support for the lshr and ashr constant expressions. All places
creating them have been removed beforehand, so this just removes the
APIs and uses of these constant expressions in tests.

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




More information about the All-commits mailing list