[all-commits] [llvm/llvm-project] bc6001: [X86] Fix -Wunused-function warning (NFC)

nullptr-cpp via All-commits all-commits at lists.llvm.org
Thu Apr 1 18:38:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc6001ce1e91604b84cd4b55e134f4be96399e21
      https://github.com/llvm/llvm-project/commit/bc6001ce1e91604b84cd4b55e134f4be96399e21
  Author: Yang Fan <nullptr.cpp at gmail.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] Fix -Wunused-function warning (NFC)

GCC warning:
```
/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:9212:13: warning: ‘bool isHorizOp(unsigned int)’ defined but not used [-Wunused-function]
 9212 | static bool isHorizOp(unsigned Opcode) {
      |             ^~~~~~~~~
```




More information about the All-commits mailing list