[PATCH] D123143: SelectionDAG: Swap operands of atomic_store

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 08:22:15 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/include/llvm/Target/TargetSelectionDAG.td:1630
 
+def atomic_store_8 :
+  PatFrag<(ops node:$val, node:$ptr),
----------------
foad wrote:
> Before your patch, where were these defined?
I think `binary_atomic_op` from the below line expanded to the 4 sizes.

```
defm atomic_store     : binary_atomic_op<atomic_store>
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123143/new/

https://reviews.llvm.org/D123143



More information about the llvm-commits mailing list