[llvm] 246990d - [llvm][MC][test] Disable many-instructons.s on 32-bit systems

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 03:09:21 PDT 2025


Author: David Spickett
Date: 2025-08-07T10:09:04Z
New Revision: 246990dc029620619f41b6bd3bd7ba67ada1a384

URL: https://github.com/llvm/llvm-project/commit/246990dc029620619f41b6bd3bd7ba67ada1a384
DIFF: https://github.com/llvm/llvm-project/commit/246990dc029620619f41b6bd3bd7ba67ada1a384.diff

LOG: [llvm][MC][test] Disable many-instructons.s on 32-bit systems

Added by https://github.com/llvm/llvm-project/pull/150846.

Checks the size of a structure, which is only correct for 64-bit
systems.

Added: 
    

Modified: 
    llvm/test/MC/ELF/many-instructions.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/ELF/many-instructions.s b/llvm/test/MC/ELF/many-instructions.s
index 843d35fe6a3a4..7c13c0d63d536 100644
--- a/llvm/test/MC/ELF/many-instructions.s
+++ b/llvm/test/MC/ELF/many-instructions.s
@@ -1,4 +1,5 @@
-# REQUIRES: asserts
+## Checks the size of an internal MC structure that is 
diff erent on 32-bit.
+# REQUIRES: asserts, llvm-64-bits
 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null -debug-only=mc-dump 2>&1 | grep -E -o '[0-9]+ Data Size:[0-9]+' | FileCheck %s
 
 ## Test that encodeInstruction may cause a new fragment to be created.


        


More information about the llvm-commits mailing list