[clang] [llvm] [BPF] Add load-acquire and store-release instructions under -mcpu=v4 (PR #108636)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Oct 25 18:10:23 PDT 2024
    
    
  
================
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
   return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
 }
 
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+                                            SelectionDAG &DAG) const {
+  const char *Msg =
+      "sequentially consistent (seq_cst) atomic load is not supported";
----------------
arsenm wrote:
I wouldn't.
Plus I think such an error should be relegated to an unsupported legalize action.
https://github.com/llvm/llvm-project/pull/108636
    
    
More information about the llvm-commits
mailing list