[PATCH] D100026: [X86] Support AMX fast register allocation
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 19:09:48 PDT 2021
xiangzhangllvm marked 5 inline comments as done.
xiangzhangllvm added inline comments.
================
Comment at: llvm/lib/Target/X86/X86PreAMXConfig.cpp:267
+BasicBlock::iterator
+X86PreAMXConfig::getShapesAndConfigPosEnd(BasicBlock::iterator Iter,
+ SmallVector<Value *, 8> &Shapes) {
----------------
pengfei wrote:
> Maybe better to use `BasicBlock::iterator &`, then you don't need to return it.
Let I = getShapesAndConfigPosEnd(...) in caller is more readable, In my eye.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100026/new/
https://reviews.llvm.org/D100026
More information about the llvm-commits
mailing list