[PATCH] D19825: Power9 - Add exploitation of vector load and store that do not require swaps

Kit Barton via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 09:12:34 PDT 2016


kbarton added inline comments.

================
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
----------------
Can't you use RegNum instead of Op.getReg() here?


Repository:
  rL LLVM

http://reviews.llvm.org/D19825





More information about the llvm-commits mailing list