[llvm] 34157f6 - [ARM] Fix operand order of tBLXr in a test (NFC) (#102312)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 15:12:49 PDT 2024


Author: Sergei Barannikov
Date: 2024-08-08T01:12:45+03:00
New Revision: 34157f694ce45cd3bf14c8494e7581bfd2a9b4d2

URL: https://github.com/llvm/llvm-project/commit/34157f694ce45cd3bf14c8494e7581bfd2a9b4d2
DIFF: https://github.com/llvm/llvm-project/commit/34157f694ce45cd3bf14c8494e7581bfd2a9b4d2.diff

LOG: [ARM] Fix operand order of tBLXr in a test (NFC) (#102312)

The $noreg should be a part of `pred` complex operand.

Added: 
    

Modified: 
    llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir b/llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir
index da032019c5683..dad8da6c005e9 100644
--- a/llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir
+++ b/llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir
@@ -80,7 +80,7 @@ body:             |
     $r2 = tMOVr $r0, 14, $noreg
     $r3 = tMOVr $r0, 14, $noreg
     $r4 = tMOVr $r0, 14, $noreg
-    tBLXr 14, $lr, $noreg
+    tBLXr 14, $noreg, $lr
   bb.1:
     liveins: $r0
     $lr = tMOVr $r0, 14, $noreg
@@ -88,7 +88,7 @@ body:             |
     $r2 = tMOVr $r0, 14, $noreg
     $r3 = tMOVr $r0, 14, $noreg
     $r4 = tMOVr $r0, 14, $noreg
-    tBLXr 14, $lr, $noreg
+    tBLXr 14, $noreg, $lr
   bb.2:
     tBX_RET 14, $noreg
 ...


        


More information about the llvm-commits mailing list