From 6d5e31baaa8d7141777c7937051577e0f90d230c Mon Sep 17 00:00:00 2001 From: Tozer Date: Tue, 17 Aug 2021 17:09:44 +0100 Subject: [PATCH] Fix 2: [MCParser] Correctly handle CRLF line ends when consuming line comments Fixes an issue with revision 5c6f748c and ad40cb88. Adds an mcpu argument to the test command, preventing an invalid default CPU from being used on some platforms. --- llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s b/llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s index e62cdd2..db797a7 100644 --- a/llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s +++ b/llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s @@ -1,4 +1,4 @@ -# RUN: llvm-mca -mtriple=x86_64-unknown-unknown %s +# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=generic %s # LLVM-MCA-BEGIN foo addl $42, %eax # LLVM-MCA-END -- 2.7.4