[PATCH] D90807: [PowerPC] no readmem property for intrinsics mfvscr

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 18:08:55 PST 2020


shchenz created this revision.
shchenz added reviewers: PowerPC, jsji, steven.zhang, nemanjai.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
shchenz requested review of this revision.

This is a typo fix for the wrong property for mfvscr intrinsics.

Currently there are no uses for this property, so seems impossible to create a test for this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90807

Files:
  llvm/include/llvm/IR/IntrinsicsPowerPC.td


Index: llvm/include/llvm/IR/IntrinsicsPowerPC.td
===================================================================
--- llvm/include/llvm/IR/IntrinsicsPowerPC.td
+++ llvm/include/llvm/IR/IntrinsicsPowerPC.td
@@ -275,7 +275,7 @@
 
   // VSCR access.
   def int_ppc_altivec_mfvscr : GCCBuiltin<"__builtin_altivec_mfvscr">,
-              Intrinsic<[llvm_v8i16_ty], [], [IntrReadMem]>;
+              Intrinsic<[llvm_v8i16_ty], [], []>;
   def int_ppc_altivec_mtvscr : GCCBuiltin<"__builtin_altivec_mtvscr">,
               Intrinsic<[], [llvm_v4i32_ty], []>;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90807.302999.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201105/daf813ff/attachment.bin>


More information about the llvm-commits mailing list