[all-commits] [llvm/llvm-project] 218256: [ConstantFold] Remove unnecessary BitCastConstantV...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Nov 3 03:24:08 PDT 2023


  Branch: refs/heads/users/joker-eph/main.refactor-moduletoobject-to-offer-more-flexibility-to-subclass-nfc
  Home:   https://github.com/llvm/llvm-project
  Commit: 2182561b7ba675ca87356c02474eecb6ecfaa23f
      https://github.com/llvm/llvm-project/commit/2182561b7ba675ca87356c02474eecb6ecfaa23f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstantFold] Remove unnecessary BitCastConstantVector() (NFCI)

ConstantFoldCastInstruction() already has generic code to perform
lane-wise casts for vectors. There is no need to repeate it
specifically for bitcasts.


  Commit: c295d7407ef3e4c42157406c7e99f258636c2c9a
      https://github.com/llvm/llvm-project/commit/c295d7407ef3e4c42157406c7e99f258636c2c9a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstantFold] Remove unnecessary checks in FoldBitCast() (NFCI)

These are no-op casts, which are already handled earlier.


  Commit: 2b1948c2be0e935bdd2e764ae1a2b84c405fdc04
      https://github.com/llvm/llvm-project/commit/2b1948c2be0e935bdd2e764ae1a2b84c405fdc04
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M clang/test/OpenMP/cancel_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp

  Log Message:
  -----------
  [NFC][OpenMP][Clang]Update OpenMP clang tests

Replace hardcoded constants by regular expressions


  Commit: ceb4dc44778f79bb1ddf2ca4b490c230ad08c10f
      https://github.com/llvm/llvm-project/commit/ceb4dc44778f79bb1ddf2ca4b490c230ad08c10f
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    R mlir/test/Conversion/VectorToLLVM/typed-pointers.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-scalable-memcpy.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][VectorToLLVM] Remove typed pointer support (#71075)

This commit removes the support for lowering Vector to LLVM dialect with
typed pointers. Typed pointers have been deprecated for a while now and
it's planned to soon remove them from the LLVM dialect.

Related PSA:
https://discourse.llvm.org/t/psa-removal-of-typed-pointers-from-the-llvm-dialect/74502


  Commit: 3289ecff8e8f5022cb6a40777392c98f1bcf5780
      https://github.com/llvm/llvm-project/commit/3289ecff8e8f5022cb6a40777392c98f1bcf5780
  Author: Mehdi Amini <mamini at nvidia.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M clang/test/OpenMP/cancel_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    R mlir/test/Conversion/VectorToLLVM/typed-pointers.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-scalable-memcpy.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/9cd3be7ac9d8...3289ecff8e8f


More information about the All-commits mailing list