[PATCH] D19825: Power9 - Add exploitation of vector load and store that do not require swaps
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 13:12:03 PDT 2016
nemanjai marked an inline comment as done.
================
Comment at: lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp:445
@@ +444,3 @@
+ if (RegNum >= PPC::VSH0 && RegNum <= PPC::VSH31)
+ O << 'v' << Op.getReg() - PPC::VSH0;
+ else
----------------
kbarton wrote:
> Can't you use RegNum instead of Op.getReg() here?
Yeah, that's a good point. When I defined RegNum, I guess I forgot to change this one. I'll change it on the commit if no further changes are requested.
Repository:
rL LLVM
http://reviews.llvm.org/D19825
More information about the llvm-commits
mailing list