[llvm] [clang] [PowerPC] Implement fence builtin (PR #76495)
    Chen Zheng via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jan  1 19:14:10 PST 2024
    
    
  
================
@@ -944,6 +944,9 @@ TARGET_BUILTIN(__builtin_pack_vector_int128, "V1LLLiULLiULLi", "", "vsx")
 // Set the floating point rounding mode
 BUILTIN(__builtin_setrnd, "di", "")
 
+// Barrier for instruction motion
+BUILTIN(__builtin_ppc_fence, "v", "")
----------------
chenzheng1030 wrote:
nit: maybe we can put this builtin around line 100, together with other XL Compatibility built-ins.
https://github.com/llvm/llvm-project/pull/76495
    
    
More information about the llvm-commits
mailing list