[PATCH] D141360: [PowerPC][GISel] Select sync instructions required by atomic operations

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 05:50:17 PST 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp:725
+  case Intrinsic::ppc_sync:
+    I.setDesc(TII.get(PPC::SYNC));
+    return true;
----------------
These should be trivially auto-selected from tablegen


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141360



More information about the llvm-commits mailing list