[PATCH] D105946: [PowerPC] Store, load, move from and to registers related builtins

Lei Huang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 15 06:26:16 PDT 2021


lei added inline comments.


================
Comment at: llvm/include/llvm/IR/IntrinsicsPowerPC.td:1569
+  def int_ppc_sthcx : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty, llvm_i32_ty], [IntrWriteMem]>;
+  def int_ppc_lharx : GCCBuiltin<"__builtin_ppc_lharx">,
+                      Intrinsic<[llvm_i32_ty], [llvm_ptr_ty], [IntrNoMem]>;
----------------
do these loads not need `IntrReadMem`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105946



More information about the cfe-commits mailing list