[clang] [llvm] [AArch64][PAC] Sign block addresses used in indirectbr. (PR #97647)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 03:50:28 PDT 2024


================
@@ -0,0 +1,106 @@
+; RUN: llc -mtriple arm64e-apple-darwin \
+; RUN:   -asm-verbose=false -aarch64-enable-collect-loh=false \
+; RUN:   -o - %s | FileCheck %s
+
+; RUN: llc -mtriple arm64e-apple-darwin \
+; RUN:   -global-isel -global-isel-abort=1 -verify-machineinstrs \
+; RUN:   -asm-verbose=false -aarch64-enable-collect-loh=false \
+; RUN:   -o - %s | FileCheck %s
+
+; The discriminator is the same for all blockaddresses in the function.
----------------
kovdan01 wrote:

Nit: it looks like that comments which are actually comments and not run/check lines use `;;` as prefix instead of `;` in newly added tests. Same applies below.

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


More information about the cfe-commits mailing list