[clang] [llvm] [LoongArch] [CodeGen] Support LoongArch-specific amswap[__db].{b/h} and amadd[__db].{b/h} instructions. (PR #113255)
Lu Weining via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 22 00:03:45 PDT 2024
================
@@ -0,0 +1,1674 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc --mtriple=loongarch32 --mattr=+d,-lam-bh < %s | FileCheck %s --check-prefix=LA32
+; RUN: llc --mtriple=loongarch32 --mattr=+d,+lam-bh < %s | FileCheck %s --check-prefix=LA32-LAM-BH
----------------
SixWeining wrote:
You may directly use `LA32` if its output is them same as `LA32-LAM-BH`. And add a comment explaining why they are the same.
https://github.com/llvm/llvm-project/pull/113255
More information about the cfe-commits
mailing list