[all-commits] [llvm/llvm-project] e582fe: [llvm] Fix -Wunused-variable in ConstantFold.cpp (...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue Nov 14 00:58:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e582fe64449b56005b945a32cc06e70bd8ef6ab1
      https://github.com/llvm/llvm-project/commit/e582fe64449b56005b945a32cc06e70bd8ef6ab1
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

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

  Log Message:
  -----------
  [llvm] Fix -Wunused-variable in ConstantFold.cpp (NFC)

/llvm-project/llvm/lib/IR/ConstantFold.cpp:137:12: error: unused variable 'CSize' [-Werror,-Wunused-variable]
  unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8;
           ^
1 error generated.




More information about the All-commits mailing list