[clang] [llvm] [AArch64] Implement the atomic store with hint intrinsic (PR #198316)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 09:18:39 PDT 2026
================
@@ -8028,6 +8092,23 @@ void AArch64InstructionSelector::renderFPImm32SIMDModImmType4(
.getZExtValue()));
}
+bool AArch64InstructionSelector::isAtomicHintInst(
+ const MachineInstr &MI, AArch64AtomicStoreHint Hint) const {
+ const GStore &St = cast<GStore>(MI);
+ auto MMO = St.getMMO();
----------------
Lukacma wrote:
Nit
```suggestion
auto MMO = cast<GStore>(I).getMMO();
```
https://github.com/llvm/llvm-project/pull/198316
More information about the cfe-commits
mailing list