[all-commits] [llvm/llvm-project] e948da: [Transforms] Fix -Wunused-variable in DemoteRegToS...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu May 16 05:53:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e948da1021b207dbcee9ed484ccb3409c2295561
      https://github.com/llvm/llvm-project/commit/e948da1021b207dbcee9ed484ccb3409c2295561
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp

  Log Message:
  -----------
  [Transforms] Fix -Wunused-variable in DemoteRegToStack.cpp (NFC)

llvm-project/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp:58:21:
error: unused variable 'BB' [-Werror,-Wunused-variable]
        BasicBlock *BB = SplitCriticalEdge(II, i);
                    ^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list