[PATCH] D39016: Add Percent Symbol In PPC Registers for Linux

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 09:15:36 PDT 2017


joerg added inline comments.


================
Comment at: lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp:534
+    if (!TripleInfo.isOSDarwin()) {
+        if (showRegistersWithPercentPrefix(RegName)) {
+            // Print register with percent symbol and prefix.
----------------
I said make it a member function because the knowledge that Darwin doesn't get the percent should be part of it, not external...


https://reviews.llvm.org/D39016





More information about the llvm-commits mailing list