[llvm] 6d5e31b - Fix 2: [MCParser] Correctly handle CRLF line ends when consuming line comments
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug 17 09:13:49 PDT 2021
    
    
  
Author: Tozer
Date: 2021-08-17T17:13:21+01:00
New Revision: 6d5e31baaa8d7141777c7937051577e0f90d230c
URL: https://github.com/llvm/llvm-project/commit/6d5e31baaa8d7141777c7937051577e0f90d230c
DIFF: https://github.com/llvm/llvm-project/commit/6d5e31baaa8d7141777c7937051577e0f90d230c.diff
LOG: 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.
Added: 
    
Modified: 
    llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s
Removed: 
    
################################################################################
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 e62cdd269bc8f..db797a75c2617 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
        
    
    
More information about the llvm-commits
mailing list