[PATCH] D141187: [SystemZ] Set setMaxAtomicSizeInBitsSupported

Brad Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 7 00:24:39 PST 2023


brad created this revision.
brad added reviewers: jonpa, uweigand.
brad added a project: LLVM.
Herald added a subscriber: hiraditya.
Herald added a project: All.
brad requested review of this revision.

Set setMaxAtomicSizeInBitsSupported for SystemZ.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141187

Files:
  llvm/lib/Target/SystemZ/SystemZISelLowering.cpp


Index: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
===================================================================
--- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -129,6 +129,8 @@
   setBooleanContents(ZeroOrOneBooleanContent);
   setBooleanVectorContents(ZeroOrNegativeOneBooleanContent);
 
+  setMaxAtomicSizeInBitsSupported(64);
+
   // Instructions are strings of 2-byte aligned 2-byte values.
   setMinFunctionAlignment(Align(2));
   // For performance reasons we prefer 16-byte alignment.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141187.487061.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230107/6aedee81/attachment.bin>


More information about the llvm-commits mailing list