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

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 06:29:33 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-arm

Author: Sergei Barannikov (s-barannikov)

<details>
<summary>Changes</summary>

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


---
Full diff: https://github.com/llvm/llvm-project/pull/102312.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/ARM/machine-outliner-unoutlinable.mir (+2-2) 


``````````diff
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
 ...

``````````

</details>


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


More information about the llvm-commits mailing list