[PATCH] D102443: [PowerPC] Added multiple PowerPC builtins

Quinn Pham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 11:20:58 PDT 2021


quinnp updated this revision to Diff 345510.
quinnp added a comment.

Fixed some formatting.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102443

Files:
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
===================================================================
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -1354,13 +1354,13 @@
   case PPC::PseudoEIEIO:
   case PPC::PseudoIOSPACEEIEIO: {	
     EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORI)
-		   .addReg(PPC::X2)
-		   .addReg(PPC::X2)
-		   .addImm(0));
+                  .addReg(PPC::X2)
+                  .addReg(PPC::X2)
+                  .addImm(0));
     EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORI)
-                   .addReg(PPC::X2)
-                   .addReg(PPC::X2)
-                   .addImm(0));
+                  .addReg(PPC::X2)
+                  .addReg(PPC::X2)
+                  .addImm(0));
     EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::EnforceIEIO));   
   return;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102443.345510.patch
Type: text/x-patch
Size: 878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210514/2b7171ed/attachment.bin>


More information about the cfe-commits mailing list