[llvm] [BOLT][AArch64] Add isPush & isPop (PR #120713)

Alexey Moksyakov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 09:33:19 PST 2024


================
@@ -246,27 +271,97 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
             Inst.getOpcode() == AArch64::LDRSHXpre ||
             Inst.getOpcode() == AArch64::LDRSHXroW ||
             Inst.getOpcode() == AArch64::LDRSHXroX ||
-            Inst.getOpcode() == AArch64::LDRSHXui);
+            Inst.getOpcode() == AArch64::LDRSHXui ||
+            Inst.getOpcode() == AArch64::LDURHi ||
+            Inst.getOpcode() == AArch64::LDURHHi ||
+            Inst.getOpcode() == AArch64::LDURSHWi ||
+            Inst.getOpcode() == AArch64::LDURSHXi ||
+            Inst.getOpcode() == AArch64::LDTRHi ||
+            Inst.getOpcode() == AArch64::LDTRSHWi ||
+            Inst.getOpcode() == AArch64::LDTRSHXi);
   }
 
   bool isLDRW(const MCInst &Inst) const {
----------------
yavtuk wrote:

I think yes

https://github.com/llvm/llvm-project/pull/120713


More information about the llvm-commits mailing list