[all-commits] [llvm/llvm-project] d7144d: [IR] Remove unused ConstantExpr::getOffsetOf() met...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Mar 16 02:43:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7144df63718e8d882f53400b2e54e0ed67c23a4
      https://github.com/llvm/llvm-project/commit/d7144df63718e8d882f53400b2e54e0ed67c23a4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [IR] Remove unused ConstantExpr::getOffsetOf() methods (NFC)

These are not used and should not be used (just like anything that
creates a constant expression only due to lack of DL-awareness).


  Commit: fdbcd76999126409e3797ad1f11047ec7937a9b0
      https://github.com/llvm/llvm-project/commit/fdbcd76999126409e3797ad1f11047ec7937a9b0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [ConstantsTest] Fix unused variable warning (NFC)


Compare: https://github.com/llvm/llvm-project/compare/bbfb13a5ffbc...fdbcd7699912


More information about the All-commits mailing list