[PATCH] D107544: [X86] [AMX] Replace bitcast with specific AMX intrinsics with X86 specific cast.

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 23 05:09:33 PDT 2021


uabelho added inline comments.


================
Comment at: llvm/lib/Target/X86/X86LowerAMXType.cpp:178
+  bool transformBitcast(BitCastInst *Bitcast);
+  Value *getRowFromCol(Instruction *II, Value *V, unsigned Granularity);
+};
----------------
pengfei wrote:
> This function has no user now?
I agree, this function seems to be unused? I get the following warning compiling trunk with gcc:
```
../lib/Target/X86/X86LowerAMXType.cpp:181:8: warning: 'llvm::Value* {anonymous}::X86LowerAMXType::getRowFromCol(llvm::Instruction*, llvm::Value*, unsigned int)' defined but not used [-Wunused-function]
  181 | Value *X86LowerAMXType::getRowFromCol(Instruction *II, Value *V,
      |        ^~~~~~~~~~~~~~~
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107544/new/

https://reviews.llvm.org/D107544



More information about the llvm-commits mailing list