[all-commits] [llvm/llvm-project] 25fccf: [ARM] Fix unused variable warning in ARMExpandPseu...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Wed Jul 12 08:51:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25fccfd41f475a266df5dfd254da4bb0bec3ce4d
      https://github.com/llvm/llvm-project/commit/25fccfd41f475a266df5dfd254da4bb0bec3ce4d
  Author: John Brawn <john.brawn at arm.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp

  Log Message:
  -----------
  [ARM] Fix unused variable warning in ARMExpandPseudoInsts.cpp

When built without LLVM_ENABLE_ASSERTIONS we can get a warning in
ARMExpandPseudoInsts.cpp due to a variable only being used inside
of a LLVM_DEBUG statement. Fix this with a dummy use, like we do
elsewhere.




More information about the All-commits mailing list