[PATCH] D136678: [AArch64][SVE2] Add the SVE2.1 pext and ptrue predicate-as-counter instructions
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 04:13:35 PDT 2023
uabelho added inline comments.
================
Comment at: llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp:540
+uint32_t
+AArch64MCCodeEmitter::EncodePPR_p8to15(const MCInst &MI, unsigned OpIdx,
+ SmallVectorImpl<MCFixup> &Fixups,
----------------
This method seems to be unused on trunk. gcc warns
```
../lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp:550:1: warning: 'uint32_t {anonymous}::AArch64MCCodeEmitter::EncodePPR_p8to15(const llvm::MCInst&, unsigned int, llvm::SmallVectorImpl<llvm::MCFixup>&, const llvm::MCSubtargetInfo&) const' defined but not used [-Wunused-function]
```
Will it be used or should it perhaps be removed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136678/new/
https://reviews.llvm.org/D136678
More information about the llvm-commits
mailing list