[PATCH] D105754: [PowerPC] Fix L[D|W]ARX Implementation

Kai Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 18:57:12 PDT 2021


lkail added inline comments.


================
Comment at: llvm/include/llvm/IR/IntrinsicsPowerPC.td:1535
-  def int_ppc_ldarx : GCCBuiltin<"__builtin_ppc_ldarx">,
-                      Intrinsic<[llvm_i64_ty], [llvm_ptr_ty], [IntrNoMem]>;
 }
----------------
Just curious, compiler optimizes the instruction out even setting `IntrArgMemOnly` and `IntrReadMem` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105754



More information about the cfe-commits mailing list