[llvm] [LFI][AArch64] Add rewrites for control flow (PR #192602)
Zachary Yedidia via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 13:59:18 PDT 2026
================
@@ -0,0 +1,21 @@
+// RUN: llvm-mc -triple aarch64_lfi %s | FileCheck %s
+
+foo:
+
+b foo
+// CHECK: b foo
+
+br x0
+// CHECK: add x28, x27, w0, uxtw
----------------
zyedidia wrote:
Because of the blank line using `CHECK-NEXT` instead of `CHECK` would not match. I could remove the blank line to allow `CHECK-NEXT`, but I think the current approach looks cleaner -- let me know if you think otherwise.
https://github.com/llvm/llvm-project/pull/192602
More information about the llvm-commits
mailing list