[llvm] 4168233 - [X86,test] Add a JCC erratum test for Windows

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 09:40:26 PDT 2024


Author: Fangrui Song
Date: 2024-06-27T09:40:20-07:00
New Revision: 4168233badd4de41fee1bdc0a9701c5360ea1ead

URL: https://github.com/llvm/llvm-project/commit/4168233badd4de41fee1bdc0a9701c5360ea1ead
DIFF: https://github.com/llvm/llvm-project/commit/4168233badd4de41fee1bdc0a9701c5360ea1ead.diff

LOG: [X86,test] Add a JCC erratum test for Windows

Increase test coverage exposed by #96835.

Added: 
    

Modified: 
    llvm/test/MC/X86/align-branch-single.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/X86/align-branch-single.s b/llvm/test/MC/X86/align-branch-single.s
index eb6bb011addaf..a1c28c2b532c5 100644
--- a/llvm/test/MC/X86/align-branch-single.s
+++ b/llvm/test/MC/X86/align-branch-single.s
@@ -3,6 +3,7 @@
 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=IND
 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=CAL
 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=RET
+# RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 --x86-align-branch-boundary=32 --x86-align-branch=ret %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=RET
 
   # Exercise cases where only one kind of instruction is asked to be aligned.
   # Fused instruction cases are excluded.


        


More information about the llvm-commits mailing list