[llvm] [NVPTX] Add Volta Atomic SequentiallyConsistent Load and Store Operations (PR #98551)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 13:02:28 PDT 2024


================
@@ -82,6 +83,36 @@ inline unsigned promoteScalarArgumentSize(unsigned size) {
 bool shouldEmitPTXNoReturn(const Value *V, const TargetMachine &TM);
 
 bool Isv2x16VT(EVT VT);
+
+namespace NVPTX {
+
+inline char const *toCString(Ordering Order) {
----------------
gonzalobg wrote:

The lifetime of `char const*` for these string is "static lifetime" / "whole program" right?

https://github.com/llvm/llvm-project/pull/98551


More information about the llvm-commits mailing list