[llvm] 38b0102 - [MTE] Also test alignment and size of MTE globals (#112039)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 14:01:27 PDT 2024


Author: Florian Mayer
Date: 2024-10-11T14:01:24-07:00
New Revision: 38b010258baa8f543210f06b2e448ce9cbb3915a

URL: https://github.com/llvm/llvm-project/commit/38b010258baa8f543210f06b2e448ce9cbb3915a
DIFF: https://github.com/llvm/llvm-project/commit/38b010258baa8f543210f06b2e448ce9cbb3915a.diff

LOG: [MTE] Also test alignment and size of MTE globals (#112039)

Added: 
    

Modified: 
    llvm/test/MC/AArch64/global-tagging.ll

Removed: 
    


################################################################################
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


        


More information about the llvm-commits mailing list