[llvm] [MTE] Also test alignment and size of MTE globals (PR #112039)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 12:38:39 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-aarch64
Author: Florian Mayer (fmayer)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/112039.diff
1 Files Affected:
- (modified) llvm/test/MC/AArch64/global-tagging.ll (+8)
``````````diff
diff --git a/llvm/test/MC/AArch64/global-tagging.ll b/llvm/test/MC/AArch64/global-tagging.ll
index fcaadead115975..4961ec04c5fba4 100644
--- a/llvm/test/MC/AArch64/global-tagging.ll
+++ b/llvm/test/MC/AArch64/global-tagging.ll
@@ -43,9 +43,17 @@
; CHECK-YAML-NEXT: -
; CHECK-ASM: .memtag internal_four
+; CHECK-ASM .p2align 4
+; CHECK-ASM: .size internal_four, 16
; CHECK-ASM: .memtag four
+; CHECK-ASM .p2align 4
+; CHECK-ASM: .size four, 16
; CHECK-ASM: .memtag sixteen
+; CHECK-ASM .p2align 4
+; CHECK-ASM: .size sixteen, 16
; CHECK-ASM: .memtag huge
+; CHECK-ASM .p2align 4
+; CHECK-ASM: .size huge, 16777232
; CHECK-ASM-NOT: .memtag specialcaselisted
@internal_four = internal global i32 1, sanitize_memtag
``````````
</details>
https://github.com/llvm/llvm-project/pull/112039
More information about the llvm-commits
mailing list